Skip to content

Build your personal knowledge base with Trilium Notes

fix small gap between menu and submenu where hover can disappear

zadame5171e434b37
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index 24086dfd58..e6baccd830 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -756,7 +756,7 @@ li.dropdown-submenu:hover > ul.dropdown-menu {
.dropdown-submenu > .dropdown-menu {
top: 0;
- left: 100%;
+ left: calc(100% - 2px); /* -2px, otherwise there's a small gap between menu and submenu where the hover can disappear */
margin-top: -6px;
min-width: 15rem;
/* to make submenu scrollable https://github.com/zadam/trilium/issues/3136 */