Style improvement

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-08-16 12:14:11 +02:00
parent b1330cb99a
commit 79a829e04e
2 changed files with 1 additions and 3 deletions

View file

@ -265,8 +265,6 @@ const DropdownMenu = (props: IDropdownMenu) => {
const autoFocus = !items.some((item) => item?.active);
console.log(placement);
return (
<>
{children ? (

View file

@ -89,7 +89,7 @@ const StatusActionButton = React.forwardRef<HTMLButtonElement, IStatusActionButt
'-m-1 flex items-center rounded-full p-2 rtl:space-x-reverse',
'transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 dark:ring-offset-0',
{
'text-gray-600 hover:text-gray-800 dark:hover:text-white bg-white hover:bg-primary-100 dark:hover:bg-primary-800 dark:bg-transparent black:hover:bg-gray-800': theme === 'default',
'text-gray-600 hover:text-gray-800 dark:hover:text-white bg-transparent hover:bg-primary-100 dark:hover:bg-primary-800 black:hover:bg-gray-800': theme === 'default',
'text-white/80 hover:text-white bg-transparent dark:bg-transparent': theme === 'inverse',
'text-black dark:text-white': active && emoji,
'hover:text-gray-600 dark:hover:text-white': !filteredProps.disabled,