Fix lightbox close button click (z-index)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user