chore: add spacing and hover

This commit is contained in:
Joel
2024-02-27 16:22:47 +08:00
parent 77c8261fca
commit 0c06d84e22

View File

@@ -17,11 +17,11 @@ const AddButton: FC<Props> = ({
}) => {
return (
<div
className={cn(className, 'flex items-center h-7 justify-center bg-gray-100 rounded-lg cursor-pointer text-xs font-medium text-gray-700 space-x-1')}
className={cn(className, 'flex items-center h-7 justify-center bg-gray-100 hover:bg-gray-200 rounded-lg cursor-pointer text-xs font-medium text-gray-700 space-x-1')}
onClick={onClick}
>
<Plus className='w-3.5 h-3.5' />
{text}
<div>{text}</div>
</div>
)
}