diff options
| author | 2018-11-13 22:29:03 +0100 | |
|---|---|---|
| committer | 2018-11-13 22:29:03 +0100 | |
| commit | adcbfc43b866ad2654be3f96e90c650cae224141 (patch) | |
| tree | 9ff84bc6d08eed8792415df72d018eede29eea67 /p/themes/base-theme/template.css | |
| parent | 0fce9892ff2b03083706b4f78495539861db98aa (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.css | 5 |
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; } |
