From 70b39ddadf10accbe368a9895f6bddd38e3e14a1 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 29 Nov 2025 09:40:51 +0200 Subject: [PATCH] fix(mobile/context_menu): global menu not scrollable --- apps/client/src/stylesheets/style.css | 5 ++++- apps/client/src/stylesheets/theme-next/base.css | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index 62afc2012..b0a963595 100644 --- a/apps/client/src/stylesheets/style.css +++ b/apps/client/src/stylesheets/style.css @@ -1554,12 +1554,15 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu { @media (max-width: 991px) { body.mobile #launcher-pane .dropdown.global-menu > .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; - bottom: calc(var(--mobile-bottom-offset) + var(--launcher-pane-size)) !important; + bottom: var(--dropdown-bottom) !important; top: unset !important; inset-inline-start: 0 !important; inset-inline-end: 0 !important; transform: unset !important; + overflow-y: auto; + max-height: calc(90vh - var(--dropdown-bottom)); } #mobile-sidebar-container { diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css index 1b3cb796e..f9f88c395 100644 --- a/apps/client/src/stylesheets/theme-next/base.css +++ b/apps/client/src/stylesheets/theme-next/base.css @@ -310,7 +310,7 @@ body.mobile #context-menu-cover { } &.global-menu-cover { - bottom: 54px; + bottom: calc(var(--mobile-bottom-offset) + var(--launcher-pane-size)); } }