Fix hover button contrast in dark mode for app and dataset cards (#23955)
This commit is contained in:
@@ -216,8 +216,8 @@ const DatasetCard = ({
|
|||||||
}
|
}
|
||||||
btnClassName={open =>
|
btnClassName={open =>
|
||||||
cn(
|
cn(
|
||||||
open ? '!bg-black/5 !shadow-none' : '!bg-transparent',
|
open ? '!bg-state-base-hover !shadow-none' : '!bg-transparent',
|
||||||
'h-8 w-8 rounded-md border-none !p-2 hover:!bg-black/5',
|
'h-8 w-8 rounded-md border-none !p-2 hover:!bg-state-base-hover',
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
className={'!z-20 h-fit !w-[128px]'}
|
className={'!z-20 h-fit !w-[128px]'}
|
||||||
|
@@ -407,8 +407,8 @@ const AppCard = ({ app, onRefresh }: AppCardProps) => {
|
|||||||
}
|
}
|
||||||
btnClassName={open =>
|
btnClassName={open =>
|
||||||
cn(
|
cn(
|
||||||
open ? '!bg-black/5 !shadow-none' : '!bg-transparent',
|
open ? '!bg-state-base-hover !shadow-none' : '!bg-transparent',
|
||||||
'h-8 w-8 rounded-md border-none !p-2 hover:!bg-black/5',
|
'h-8 w-8 rounded-md border-none !p-2 hover:!bg-state-base-hover',
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
popupClassName={
|
popupClassName={
|
||||||
|
Reference in New Issue
Block a user