chore: if image can popper, cursor -> zoom-in

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei 2024-06-24 15:49:58 +08:00
parent 483d87e38c
commit 61677cf20a
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ const ImageImpl: FC<ImageProps> = ({
className={cn(
hidden && "hidden",
"size-full bg-stone-100 object-cover",
popper && "cursor-zoom-in",
)}
src={imgSrc}
onClick={handleClick}