Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(mobile/context_menu): global menu not scrollable
Elian Doran70b39ddadf10
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.cssindex 62afc2012f..b0a963595e 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.cssindex 1b3cb796ef..f9f88c3951 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));}}