Revert "Fix lightbox blocking clicks on page elements"

This reverts commit 17b7af9b92.
This commit is contained in:
Mike Dalessio
2026-01-28 17:53:21 -05:00
parent 17b7af9b92
commit c70c4b4107
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -3,11 +3,14 @@
--dialog-duration: 350ms;
--lightbox-padding: 3vmin;
align-items: center;
background-color: transparent;
block-size: 100dvh;
border: 0;
display: flex;
inline-size: 100dvw;
inset: 0;
justify-content: center;
margin: auto;
max-height: unset;
max-width: unset;
@@ -36,9 +39,6 @@
/* Open state */
&[open],
&[open]::backdrop {
align-items: center;
display: flex;
justify-content: center;
opacity: 1;
@starting-style {
@@ -30,7 +30,7 @@ export default class extends Controller {
reset() {
this.zoomedImageTarget.src = ""
this.captionTarget.innerHTML = " "
this.captionTarget.innerHtml = " "
this.dispatch('closed')
}