Skip to content

Build your personal knowledge base with Trilium Notes

make the context menu scrollable when exceeding total window height, closes #723

zadam91487b338af7
diff --git a/src/public/stylesheets/desktop.css b/src/public/stylesheets/desktop.css
index 9622e07da7..4af13782ed 100644
--- a/src/public/stylesheets/desktop.css
+++ b/src/public/stylesheets/desktop.css
@@ -89,6 +89,11 @@ body {
font-size: inherit;
}
+#context-menu-container {
+ max-height: 100vh;
+ overflow: auto; /* make it scrollable when exceeding total height of the window */
+}
+
#context-menu-container, #context-menu-container .dropdown-menu {
padding: 3px 0 0;
z-index: 1111;