From 91487b338af7a864ffbba21b90ea448fdef6dd2a Mon Sep 17 00:00:00 2001 From: zadam Date: Tue, 26 Nov 2019 19:55:52 +0100 Subject: [PATCH] make the context menu scrollable when exceeding total window height, closes #723 --- src/public/stylesheets/desktop.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/public/stylesheets/desktop.css b/src/public/stylesheets/desktop.css index 9622e07da..4af13782e 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;