style(mobile/context_menu): rounded corners for anchored positioning

This commit is contained in:
Elian Doran 2025-11-29 09:29:00 +02:00
parent 2e6bdc225f
commit 57b694162d
No known key found for this signature in database

View File

@ -314,13 +314,17 @@ body.mobile #context-menu-cover {
} }
} }
body.mobile .dropdown-menu.mobile-bottom-menu,
body.mobile .dropdown.global-menu .dropdown-menu {
border-radius: var(--dropdown-border-radius) var(--dropdown-border-radius) 0 0;
}
body.mobile .dropdown-menu { body.mobile .dropdown-menu {
--dropdown-menu-padding-vertical: 0.7em; --dropdown-menu-padding-vertical: 0.7em;
--dropdown-menu-padding-horizontal: 1em; --dropdown-menu-padding-horizontal: 1em;
--hover-item-background-color: var(--card-background-color); --hover-item-background-color: var(--card-background-color);
font-size: 1em !important; font-size: 1em !important;
backdrop-filter: var(--dropdown-backdrop-filter); backdrop-filter: var(--dropdown-backdrop-filter);
border-radius: var(--dropdown-border-radius) var(--dropdown-border-radius) 0 0;
position: relative; position: relative;
.dropdown-toggle::after { .dropdown-toggle::after {