From 1fdf781117452e3a855ced9fd145f8737022d39c Mon Sep 17 00:00:00 2001 From: Chris Lawton <chris.lawton@torchbox.com> Date: Mon, 7 Jan 2019 12:23:26 +0000 Subject: [PATCH] reduces height of filter dropdowns --- .../static_src/src/sass/apply/components/_select2.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/opentech/static_src/src/sass/apply/components/_select2.scss b/opentech/static_src/src/sass/apply/components/_select2.scss index 541479559..0e343794d 100644 --- a/opentech/static_src/src/sass/apply/components/_select2.scss +++ b/opentech/static_src/src/sass/apply/components/_select2.scss @@ -1,3 +1,5 @@ +$dropdown-height: 45px; + .select2 { &-container { z-index: 99995; // to override any modals @@ -8,7 +10,7 @@ width: 100% !important; // sass-lint:disable-line no-important .select2-selection--single { - height: 55px; + height: $dropdown-height; border: 1px solid $color--mid-grey; border-radius: 0; @@ -30,12 +32,12 @@ .select2-selection__rendered { padding-left: 15px; - line-height: 55px; + line-height: $dropdown-height; } .select2-selection__arrow { right: 15px; - height: 53px; + height: $dropdown-height; pointer-events: none; background: url('./../../images/dropdown.svg') transparent no-repeat 95% center; background-size: 8px; -- GitLab