Skip to content

Commit a33947d

Browse files
committed
Fix dialog scrollbar on Firefox
1 parent aec331b commit a33947d

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

wled00/data/index.css

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,25 +1345,21 @@ TD .checkmark, TD .radiomark {
13451345
top: calc(var(--sti) + 42px);
13461346
}
13471347

1348-
.dialog:not(.hide)::before {
1348+
.dialog:not(.hide)::after {
13491349
position: fixed;
13501350
top: 0;
13511351
left: 0;
13521352
width: 100%;
13531353
height: 100%;
13541354
background-color: var(--c-o);
1355-
content: " ";
1355+
content: "";
1356+
z-index: -1;
13561357
}
13571358
.dialog {
13581359
position: fixed;
13591360
z-index: 5;
13601361
top: 10%;
1361-
left: 0;
1362-
right: 0;
1363-
width: 100%;
1364-
max-width: 280px;
13651362
max-height: 70%;
1366-
margin: auto;
13671363
padding: 12px 24px;
13681364
border-radius: 10px;
13691365
background-color: var(--c-5);

0 commit comments

Comments
 (0)