summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/dropdowns.scss
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2018-01-08 15:04:33 -0700
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2018-01-08 15:04:33 -0700
commit0d85e1b4785e566ed5b02c9dda69f8a750aa9c57 (patch)
tree33e2b48c6be841df8108252877560ae4c5451ad9 /app/assets/stylesheets/framework/dropdowns.scss
parent8a7bbe1ff3a384a21a837c8db82cc7c9613e3114 (diff)
downloadgitlab-ce-0d85e1b4785e566ed5b02c9dda69f8a750aa9c57.tar.gz
Change max-height of all dropdowns to 312px41570-max-height-dropdown
Diffstat (limited to 'app/assets/stylesheets/framework/dropdowns.scss')
-rw-r--r--app/assets/stylesheets/framework/dropdowns.scss4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss
index bc907a390d8..d1b3754d4ef 100644
--- a/app/assets/stylesheets/framework/dropdowns.scss
+++ b/app/assets/stylesheets/framework/dropdowns.scss
@@ -28,7 +28,9 @@
.dropdown-menu,
.dropdown-menu-nav {
@include set-visible;
- min-height: 40px;
+ min-height: $dropdown-min-height;
+ max-height: $dropdown-max-height;
+ overflow: auto;
@media (max-width: $screen-xs-max) {
width: 100%;