Skip to content

Build your personal knowledge base with Trilium Notes

fix(client): stop a submenu that holds submenus from clipping them

Elian Doran8461c14dfc73
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index edb4b17cff..4f18027b6d 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -1690,7 +1690,10 @@ body.desktop li.dropdown-submenu:hover > ul.dropdown-menu {
top: 0;
inset-inline-start: calc(100% - 2px); /* -2px, otherwise there's a small gap between menu and submenu where the hover can disappear */
margin-top: -10px;
- /* to make submenu scrollable https://github.com/zadam/trilium/issues/3136 */
+}
+
+/* to make submenu scrollable https://github.com/zadam/trilium/issues/3136 */
+.dropdown-submenu > .dropdown-menu:not(:has(.dropdown-submenu)) {
max-height: 600px;
overflow: auto;
}