Fix warning of "shadow"

This commit is contained in:
danidfra 2024-10-28 17:42:29 -03:00
parent 838d86fb66
commit e22a16b94b
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ const MenuList: React.FC<IMenuList> = (props) => {
<MenuItems <MenuItems
onKeyDown={(event) => event.nativeEvent.stopImmediatePropagation()} onKeyDown={(event) => event.nativeEvent.stopImmediatePropagation()}
className={ className={
clsx(className, 'shadow-menu rounded-lg bg-white py-1 black:bg-black dark:bg-primary-900') clsx(className, 'rounded-lg bg-white py-1 black:bg-black dark:bg-primary-900')
} }
{...filteredProps} {...filteredProps}
/> />

View File

@ -54,7 +54,7 @@ export const PuzzleCaptcha: React.FC<IPuzzleCaptcha> = ({ bg, puzzle, position,
return ( return (
<div id='drop-area' ref={ref} className='relative'> <div id='drop-area' ref={ref} className='relative'>
<img <img
className='drop-shadow-black absolute z-[101] w-[61px] drop-shadow-2xl hover:cursor-grab' className='absolute z-[101] w-[61px] drop-shadow-2xl hover:cursor-grab'
src={puzzle} src={puzzle}
alt='' alt=''
onPointerDown={(e) => e.currentTarget.setPointerCapture(e.pointerId)} onPointerDown={(e) => e.currentTarget.setPointerCapture(e.pointerId)}