From 63440e11d6b763a396e9c59928689e81ceb4e166 Mon Sep 17 00:00:00 2001 From: Kushal Pandya Date: Wed, 8 Feb 2017 19:49:29 +0530 Subject: Set dropdown height fixed to `250px;` and make it scrollable --- app/assets/stylesheets/framework/dropdowns.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index facfb7f9920..8398e9e82a2 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -127,6 +127,7 @@ z-index: 9; max-width: 280px; min-width: 240px; + max-height: 250px; margin-top: 2px; margin-bottom: 0; font-size: 14px; @@ -136,6 +137,7 @@ border: 1px solid $dropdown-border-color; border-radius: $border-radius-base; box-shadow: 0 2px 4px $dropdown-shadow-color; + overflow-y: auto; &.is-loading { .dropdown-content { -- cgit v1.2.1