Added visible close button

This commit is contained in:
koloml committed 2025-01-03 06:28:09 +04:00
1 parent 309dd15598
commit ba10768496
2 files changed
+20

No files matched your search

+17
View File
@@ -206,6 +206,23 @@
z-index: 1;
}
.close {
position: absolute;
top: 5px;
right: 5px;
z-index: 1;
padding: 5px;
background-color: colors.$text;
color: colors.$background;
font-size: 20px;
line-height: 20px;
width: 20px;
height: 20px;
text-align: center;
display: block;
cursor: pointer;
}
&.shown {
opacity: var(--opacity, 1);
pointer-events: initial;