fix IconClick bg-color bug
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -20,7 +20,7 @@ export default function IconClick({
|
|||||||
<>
|
<>
|
||||||
<div
|
<div
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
className={`${disableOnHoverBgChange ? "" : "hover:bg-gray-200"}hover:cursor-pointer rounded-3xl w-[${size}px] h-[${size}px] flex justify-center items-center ${className}`}
|
className={`${disableOnHoverBgChange ? "" : "hover:bg-gray-200"} hover:cursor-pointer rounded-3xl w-[${size}px] h-[${size}px] flex justify-center items-center ${className}`}
|
||||||
>
|
>
|
||||||
<Image src={src} width={size - 5} height={size - 5} alt={alt}></Image>
|
<Image src={src} width={size - 5} height={size - 5} alt={alt}></Image>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user