Skip to content

Build your personal knowledge base with Trilium Notes

fix(note_actions): editability context menu is too narrow

Elian Doran14cda5b92193
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 871b84bdc1..55398be8c3 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -1315,7 +1315,8 @@ 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;
- min-width: 15rem;
+ min-width: max-content;
+ max-width: 300px;
/* to make submenu scrollable https://github.com/zadam/trilium/issues/3136 */
max-height: 600px;
overflow: auto;