From 1d0f3a9816cf9b46847a748566ab613d517e1016 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 24 Jan 2018 18:16:29 +0100 Subject: [PATCH] FIX: tweaks to tag and category drops --- app/assets/stylesheets/common/select-kit/category-drop.scss | 5 ++--- app/assets/stylesheets/common/select-kit/tag-drop.scss | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/common/select-kit/category-drop.scss b/app/assets/stylesheets/common/select-kit/category-drop.scss index a4147f27f18..5e875e47826 100644 --- a/app/assets/stylesheets/common/select-kit/category-drop.scss +++ b/app/assets/stylesheets/common/select-kit/category-drop.scss @@ -69,7 +69,7 @@ flex-direction: column; padding: 0; min-width: 100px; - max-height: 250px; + max-height: 300px; .collection-header { .category-filter { @@ -106,7 +106,6 @@ .category-desc { font-weight: normal; - margin-top: 3px; color: $primary-medium; } @@ -142,7 +141,7 @@ margin: 2.5px; } - .select-kit-wrapper { + &.is-expanded .select-kit-wrapper, .select-kit-wrapper { display: none; } } diff --git a/app/assets/stylesheets/common/select-kit/tag-drop.scss b/app/assets/stylesheets/common/select-kit/tag-drop.scss index 1dc0f8f737c..c5e4cb16c79 100644 --- a/app/assets/stylesheets/common/select-kit/tag-drop.scss +++ b/app/assets/stylesheets/common/select-kit/tag-drop.scss @@ -21,7 +21,7 @@ display: flex; flex-direction: column; padding: 0; - max-height: 250px; + max-height: 300px; .collection-header { .tag-filter { @@ -59,7 +59,7 @@ } } - .select-kit-wrapper { + &.is-expanded .select-kit-wrapper, .select-kit-wrapper { display: none; } }