From 9acb934a87a755b40097738a32c576e3b5900636 Mon Sep 17 00:00:00 2001 From: Yuri Sulyma Date: Tue, 3 Feb 2026 12:02:09 +0100 Subject: [PATCH 1/2] fix help menu gap --- src/views/minor/NavBar.vue | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/views/minor/NavBar.vue b/src/views/minor/NavBar.vue index f309943a..8d985986 100644 --- a/src/views/minor/NavBar.vue +++ b/src/views/minor/NavBar.vue @@ -150,6 +150,19 @@ position: relative; padding-right: 0.5em; + /** vertical offset between #help-popup and the text */ + --popup-offset: 0.3ex; + + /* + * increase the hoverable area so that the popup doesn't vanish + * when moving the mouse from the popup trigger to the popup + */ + margin-left: -0.5em; + padding-left: 0.5em; + + padding-bottom: var(--popup-offset); + margin-bottom: calc(-1 * var(--popup-offset)); + a { font-family: var(--ns-font-display); text-decoration: none; @@ -171,7 +184,7 @@ z-index: 10000; background-color: var(--ns-color-white); opacity: 1; - margin-top: 0.3ex; + margin-top: var(--popup-offset); padding-bottom: 0.5ex; padding-top: 0.5ex; border: 1px solid var(--ns-color-black); From 7edfe17c45dcb7e4fce02a7aba8e3c7c092bfcbf Mon Sep 17 00:00:00 2001 From: Glen Whitney Date: Tue, 3 Feb 2026 12:35:19 +0100 Subject: [PATCH 2/2] fix: overlap link and popup slightly to avoid any danger area --- src/views/minor/NavBar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/minor/NavBar.vue b/src/views/minor/NavBar.vue index 8d985986..1da36c04 100644 --- a/src/views/minor/NavBar.vue +++ b/src/views/minor/NavBar.vue @@ -161,7 +161,7 @@ padding-left: 0.5em; padding-bottom: var(--popup-offset); - margin-bottom: calc(-1 * var(--popup-offset)); + margin-bottom: calc(-1.05 * var(--popup-offset)); a { font-family: var(--ns-font-display);