diff --git a/src/lib/components/common/ImagePreview.svelte b/src/lib/components/common/ImagePreview.svelte index e4de133c41..e44d5b197b 100644 --- a/src/lib/components/common/ImagePreview.svelte +++ b/src/lib/components/common/ImagePreview.svelte @@ -72,7 +72,7 @@ aria-modal="true" aria-label={alt || $i18n.t('Image')} tabindex="-1" - class="modal fixed top-0 right-0 left-0 bottom-0 bg-base-1000 text-base-0 w-full min-h-screen h-screen flex justify-center z-9999 overflow-hidden overscroll-contain" + class="modal fixed top-0 right-0 left-0 bottom-0 bg-base-1000 text-base-0 w-full h-screen max-h-[100dvh] flex justify-center z-9999 overflow-hidden overscroll-contain" >