Skip to content

Build your personal knowledge base with Trilium Notes

feat(mobile): use safe area for bottom-aligned menus

Elian Doran278d82645e1f
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 7b18f9356c..ba1bf6cee8 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -1556,6 +1556,7 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu {
body.mobile .dropdown-menu.mobile-bottom-menu.show {
--dropdown-bottom: 0px;
+ padding-bottom: calc(max(var(--menu-padding-size), env(safe-area-inset-bottom))) !important;
}
#mobile-sidebar-container {