mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-05-13 13:17:45 +00:00
fix: close button on image viewer squashed (#17)
can't replicate so i'm hoping this works
This commit is contained in:
parent
9f65847c3b
commit
77266d0ef1
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ export default function ImageViewer({ src, alt, width, height, unoptimized = fal
|
||||||
type="button"
|
type="button"
|
||||||
aria-label="Close"
|
aria-label="Close"
|
||||||
onClick={close}
|
onClick={close}
|
||||||
className={`pill button p-2! aspect-square text-2xl absolute top-4 right-4 ${isVisible ? "opacity-100" : "opacity-0"}`}
|
className={`pill button p-2! size-11 aspect-square text-2xl absolute top-4 right-4 shrink-0 ${isVisible ? "opacity-100" : "opacity-0"}`}
|
||||||
>
|
>
|
||||||
<Icon icon="material-symbols:close-rounded" />
|
<Icon icon="material-symbols:close-rounded" />
|
||||||
</button>
|
</button>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue