summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/share/css/navbar.css19
1 files changed, 18 insertions, 1 deletions
diff --git a/web/share/css/navbar.css b/web/share/css/navbar.css
index 802b34dc..afee8f02 100644
--- a/web/share/css/navbar.css
+++ b/web/share/css/navbar.css
@@ -106,7 +106,9 @@ ul#navbar li a.menu-button-pressed {
ul#navbar li div.menu {
visibility: hidden;
outline: none;
- overflow: hidden;
+ overflow-x: hidden;
+ overflow-y: auto;
+ max-height: calc(100vh - 55px);
white-space: nowrap;
border: var(--border-navbar-menu-default-2px);
border-top: var(--border-navbar-menu-top-thin);
@@ -121,6 +123,21 @@ ul#navbar li div.menu-active {
border-top: var(--border-navbar-menu-top-thin) !important;
}
+ul#navbar li div.menu::-webkit-scrollbar {
+ width: 8px;
+ height: 8px;
+}
+ul#navbar li div.menu::-webkit-scrollbar-thumb {
+ border-radius: 4px;
+ background: var(--cs-scroll-default-bg);
+}
+@-moz-document url-prefix() {
+ ul#navbar li div.menu {
+ scrollbar-width: 8px;
+ scrollbar-color: var(--cs-scroll-default-bg) var(--cs-code-default-bg);
+ }
+}
+
ul#navbar li div.menu details summary {
cursor: pointer;
outline: none;