Skip to content

Build your personal knowledge base with Trilium Notes

fix(mobile/note_actions): submenus not working

Elian Doranc06a90913af5
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 1bed8cbef0..93163c06d4 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -462,6 +462,15 @@ body.mobile .dropdown .dropdown-submenu > span {
align-items: center;
}
+
+body.mobile .dropdown .dropdown-submenu {
+ flex-wrap: wrap;
+
+ & > span {
+ flex-grow: 1;
+ }
+}
+
.dropdown-item span.keyboard-shortcut,
.dropdown-item *:not(.keyboard-shortcut) > kbd {
flex-grow: 1;
@@ -1531,7 +1540,7 @@ 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,
- body.mobile .dropdown.note-actions .dropdown-menu.show {
+ body.mobile .dropdown.note-actions > .dropdown-menu.show {
--dropdown-bottom: calc(var(--mobile-bottom-offset) + var(--launcher-pane-size));
position: fixed !important;
bottom: var(--dropdown-bottom) !important;