fix: switch max-w-max to max-w-full in expandable images

This commit is contained in:
James Xylight committed 2025-02-09 15:34:33 -08:00
1 parent 61815f8edd
commit a5ba6d66f6
1 file changed
+3 -3
+3 -3
View File
@@ -52,11 +52,11 @@
use:focusTrap
>
<img
width={600}
height={600}
width={800}
height={800}
src={page.state.openImage}
class={[
'max-w-max mx-auto my-auto overscroll-contain bg-white dark:bg-zinc-900',
'max-w-full mx-auto my-auto overscroll-contain bg-white dark:bg-zinc-900',
]}
transition:scale={{ start: 0.95, easing: expoOut, duration: 250 }}
{alt}