Fix dialog scrollbar on Firefox

This commit is contained in:
Woody 2023-12-07 16:32:30 +01:00
parent aec331b5a6
commit 930a1ae450
No known key found for this signature in database
GPG Key ID: 9872D7F5072789B2

View File

@ -1345,14 +1345,15 @@ TD .checkmark, TD .radiomark {
top: calc(var(--sti) + 42px); top: calc(var(--sti) + 42px);
} }
.dialog:not(.hide)::before { .dialog:not(.hide)::after {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: var(--c-o); background-color: var(--c-o);
content: " "; content: "";
z-index: -1;
} }
.dialog { .dialog {
position: fixed; position: fixed;
@ -1360,7 +1361,6 @@ TD .checkmark, TD .radiomark {
top: 10%; top: 10%;
left: 0; left: 0;
right: 0; right: 0;
width: 100%;
max-width: 280px; max-width: 280px;
max-height: 70%; max-height: 70%;
margin: auto; margin: auto;