Skip to content

A platform for community discussion. Free, open, simple.

FIX: tweaks to tag and category drops

Joffrey JAFFEUX1d0f3a9816cf
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;
}
}