Fix our "fake" mobile dropdown settings menu

This commit is contained in:
Maximilian Mader 2023-11-04 18:29:40 +01:00 committed by Tim Düsterhus
parent dd4ecbd4ba
commit 4bbd89d474
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF
1 changed files with 7 additions and 0 deletions

View File

@ -487,6 +487,12 @@ $chatEmbedMaxWidth: 400px;
@include screen-md-down {
@include dropdownMenu;
@at-root (with: all) {
html[data-color-scheme="dark"] & {
border: 1px solid var(--wcfDropdownBorderInner);
}
}
&.open {
display: block;
visibility: visible;
@ -501,6 +507,7 @@ $chatEmbedMaxWidth: 400px;
// these rules are required to work around the .button default styling
.button {
@include wcfFontDefault;
text-align: start;
&.active,
&.active:hover {