diff --git a/static/css/style.css b/static/css/style.css index 760a1e8..9c30d7b 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1706,6 +1706,7 @@ form .post { /* Image viewer */ #image-viewer { + display: none; flex-direction: column; justify-content: center; align-items: center; @@ -1715,8 +1716,8 @@ form .post { margin: 0; width: 100dvw; height: 100dvh; + opacity: 0; background: rgb(0 0 0 / 75%); - transition: opacity 350ms; z-index: 100; } diff --git a/templates/activities/_modal_image.html b/templates/activities/_image_viewer.html similarity index 93% rename from templates/activities/_modal_image.html rename to templates/activities/_image_viewer.html index 9aff88c..14d9c73 100644 --- a/templates/activities/_modal_image.html +++ b/templates/activities/_image_viewer.html @@ -23,7 +23,7 @@ set <#image-viewer figcaption />'s textContent to '' end -