aboutsummaryrefslogtreecommitdiff
path: root/p/themes/base-theme/template.css
diff options
context:
space:
mode:
authorGravatar romibi <romibi@bluewin.ch> 2018-11-13 22:29:03 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2018-11-13 22:29:03 +0100
commitadcbfc43b866ad2654be3f96e90c650cae224141 (patch)
tree9ff84bc6d08eed8792415df72d018eede29eea67 /p/themes/base-theme/template.css
parent0fce9892ff2b03083706b4f78495539861db98aa (diff)
Improve long dropdown menu lists (#2108)
Dropdown menus with lots of entries were a bit difficult to use … Set max height to 75% of Viewport-height and enabled scrolling
Diffstat (limited to 'p/themes/base-theme/template.css')
-rw-r--r--p/themes/base-theme/template.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css
index 273b3d07f..f07b397f4 100644
--- a/p/themes/base-theme/template.css
+++ b/p/themes/base-theme/template.css
@@ -230,6 +230,11 @@ a.btn {
background: #fff;
border: 1px solid #aaa;
}
+.dropdown-menu-scrollable {
+ max-height: 75vh;
+ overflow-x: hidden;
+ overflow-y: auto;
+}
.dropdown-header {
display: block;
}