fix(mobile/context_menu): global menu not scrollable

This commit is contained in:
Elian Doran 2025-11-29 09:40:51 +02:00
parent 8200c0b0ab
commit 70b39ddadf
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View File

@ -1554,12 +1554,15 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu {
@media (max-width: 991px) { @media (max-width: 991px) {
body.mobile #launcher-pane .dropdown.global-menu > .dropdown-menu.show, body.mobile #launcher-pane .dropdown.global-menu > .dropdown-menu.show,
body.mobile #launcher-container .dropdown > .dropdown-menu.show { body.mobile #launcher-container .dropdown > .dropdown-menu.show {
--dropdown-bottom: calc(var(--mobile-bottom-offset) + var(--launcher-pane-size));
position: fixed !important; position: fixed !important;
bottom: calc(var(--mobile-bottom-offset) + var(--launcher-pane-size)) !important; bottom: var(--dropdown-bottom) !important;
top: unset !important; top: unset !important;
inset-inline-start: 0 !important; inset-inline-start: 0 !important;
inset-inline-end: 0 !important; inset-inline-end: 0 !important;
transform: unset !important; transform: unset !important;
overflow-y: auto;
max-height: calc(90vh - var(--dropdown-bottom));
} }
#mobile-sidebar-container { #mobile-sidebar-container {

View File

@ -310,7 +310,7 @@ body.mobile #context-menu-cover {
} }
&.global-menu-cover { &.global-menu-cover {
bottom: 54px; bottom: calc(var(--mobile-bottom-offset) + var(--launcher-pane-size));
} }
} }