fix: add max-h to expanded images

This commit is contained in:
Xylight committed 2024-05-30 17:48:39 -07:00
1 parent 2edfdf8421
commit fb1fa13572
1 file changed
+1 -1
+1 -1
View File
@@ -39,7 +39,7 @@
width={400} width={400}
height={400} height={400}
src={$page.state.openImage} src={$page.state.openImage}
class="w-full h-auto object-contain max-w-screen-lg mx-auto my-auto overscroll-contain bg-white dark:bg-zinc-900" class="w-full h-full object-contain max-w-screen-lg max-h-full mx-auto my-auto overscroll-contain bg-white dark:bg-zinc-900"
transition:scale={{ start: 0.95, easing: backOut, duration: 250 }} transition:scale={{ start: 0.95, easing: backOut, duration: 250 }}
{alt} {alt}
/> />