From 693a07c6c6a707a0e70fc8ddfd24cc8579259b0b Mon Sep 17 00:00:00 2001 From: Alexander Zaytsev Date: Wed, 28 Jan 2026 18:58:37 +0100 Subject: [PATCH] Fix lightbox blocking clicks on card page --- app/assets/stylesheets/lightbox.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/lightbox.css b/app/assets/stylesheets/lightbox.css index b1b73af513..5543bfd448 100644 --- a/app/assets/stylesheets/lightbox.css +++ b/app/assets/stylesheets/lightbox.css @@ -7,7 +7,6 @@ background-color: transparent; block-size: 100dvh; border: 0; - display: flex; inline-size: 100dvw; inset: 0; justify-content: center; @@ -37,6 +36,10 @@ } /* Open state */ + &[open] { + display: flex; + } + &[open], &[open]::backdrop { opacity: 1;