diff --git a/src/shared/styles/theme.css b/src/shared/styles/theme.css index 513ab00..2979bc8 100644 --- a/src/shared/styles/theme.css +++ b/src/shared/styles/theme.css @@ -479,5 +479,16 @@ dialog.lightbox { @utility lightbox-image { box-sizing: content-box; max-width: calc(100vw - 2rem); - max-height: calc(100vh - 8rem); + max-height: calc(100vh - 10rem); +} + +/* Disable transition animation for Firefox + * since it isn't supported yet */ +@supports (-moz-appearance: none) { + ::view-transition-group(lightbox-frame), + ::view-transition-old(lightbox-frame), + ::view-transition-new(lightbox-frame) { + animation-duration: 0s !important; + animation-delay: 0s !important; + } }