Tweak styling of disabled tabs
This commit is contained in:
parent
05aee02a43
commit
445cd679d8
@ -10,7 +10,7 @@ const ModeTab: React.FC<ModeTabProps> = ({ disabled, children }) => (
|
||||
className={({ selected }) =>
|
||||
`border rounded-lg px-2 py-1 bg-gray-100 ${
|
||||
disabled
|
||||
? "text-gray-300"
|
||||
? "border-gray-100 text-gray-300 cursor-default"
|
||||
: "hover:bg-gray-200 hover:shadow text-gray-500 hover:text-gray-600"
|
||||
} text-xs ${selected ? "border-blue-300" : ""}`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user