Feature/image dialog #8

Merged
ilia merged 19 commits from feature/image-dialog into main 2026-05-23 10:16:55 +00:00
Showing only changes of commit 532f93d896 - Show all commits
+12 -1
View File
@@ -479,5 +479,16 @@ dialog.lightbox {
@utility lightbox-image { @utility lightbox-image {
box-sizing: content-box; box-sizing: content-box;
max-width: calc(100vw - 2rem); 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;
}
} }