Fix lightbox close button click (z-index)

This commit is contained in:
dsyoon
2025-12-28 00:12:54 +09:00
parent a8f30018e8
commit 23c66952db

View File

@@ -196,10 +196,12 @@ div.navigation {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.85);
z-index: 0;
}
.lightbox-content {
position: absolute;
inset: 0;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
@@ -218,6 +220,7 @@ div.navigation {
position: absolute;
top: 14px;
right: 14px;
z-index: 2; /* ensure clickable above .lightbox-content */
width: 44px;
height: 44px;
border-radius: 999px;