Minor adjustments to code tabs
This commit is contained in:
		
							parent
							
								
									1213ca2bf0
								
							
						
					
					
						commit
						5e0dc6e4ed
					
				|  | @ -162,7 +162,7 @@ let SquigglePlayground: FC<PlaygroundProps> = ({ | ||||||
|     let iconStyle = (isSelected) => |     let iconStyle = (isSelected) => | ||||||
|       classNames( |       classNames( | ||||||
|         "-ml-0.5 mr-2 h-4 w-4 ", |         "-ml-0.5 mr-2 h-4 w-4 ", | ||||||
|         isSelected ? "text-teal-500" : "text-gray-500 group-hover:text-gray-900" |         isSelected ? "text-slate-500" : "text-gray-400 group-hover:text-gray-900" | ||||||
|       ); |       ); | ||||||
| 
 | 
 | ||||||
|     let icon = (selected) => |     let icon = (selected) => | ||||||
|  | @ -177,10 +177,8 @@ let SquigglePlayground: FC<PlaygroundProps> = ({ | ||||||
|       <Tab key={key} as={Fragment}> |       <Tab key={key} as={Fragment}> | ||||||
|         {({ selected }) => ( |         {({ selected }) => ( | ||||||
|           <button |           <button | ||||||
|             className={classNames( |             className= | ||||||
|               "flex rounded-md focus:outline-none focus-visible:ring-offset-gray-100 ", |               "flex rounded-md focus:outline-none focus-visible:ring-offset-gray-100 " | ||||||
|               selected ? "" : "" |  | ||||||
|             )} |  | ||||||
|           > |           > | ||||||
|             <span |             <span | ||||||
|               className={classNames( |               className={classNames( | ||||||
|  | @ -212,7 +210,7 @@ let SquigglePlayground: FC<PlaygroundProps> = ({ | ||||||
|     <Tab.Group> |     <Tab.Group> | ||||||
|       <div className=" flex-col flex"> |       <div className=" flex-col flex"> | ||||||
|         <div className="pb-4"> |         <div className="pb-4"> | ||||||
|           <Tab.List className="p-0.5 rounded-lg bg-slate-100 hover:bg-slate-200 inline-flex"> |           <Tab.List className="p-0.5 rounded-md bg-slate-100 hover:bg-slate-200 inline-flex"> | ||||||
|             {tab("Code", "code")} |             {tab("Code", "code")} | ||||||
|             {tab("Sampling Settings", "cog")} |             {tab("Sampling Settings", "cog")} | ||||||
|             {tab("View Settings", "squareBar")} |             {tab("View Settings", "squareBar")} | ||||||
|  | @ -355,7 +353,7 @@ let SquigglePlayground: FC<PlaygroundProps> = ({ | ||||||
|             </Tab.Panels> |             </Tab.Panels> | ||||||
|           </div> |           </div> | ||||||
| 
 | 
 | ||||||
|           <div className="w-1/2 border-l border-gray-300 p-2"> |           <div className="w-1/2 p-2 pl-4"> | ||||||
|             <div style={{ maxHeight: height + "px" }}> |             <div style={{ maxHeight: height + "px" }}> | ||||||
|               <SquiggleChart |               <SquiggleChart | ||||||
|                 squiggleString={squiggleString} |                 squiggleString={squiggleString} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user