From e5171e434b3717b064600a6f303965514cd29727 Mon Sep 17 00:00:00 2001 From: zadam Date: Sun, 18 Dec 2022 19:45:36 +0100 Subject: [PATCH] fix small gap between menu and submenu where hover can disappear --- src/public/stylesheets/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index 24086dfd5..e6baccd83 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 */