Fix warning of "shadow"
This commit is contained in:
parent
838d86fb66
commit
e22a16b94b
|
@ -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}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -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)}
|
||||||
|
|
Loading…
Reference in New Issue