Skip to content

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

FIX: do not lighten color when no selection for cat and tag drops

Joffrey JAFFEUX99cf091774f7
diff --git a/app/assets/stylesheets/common/select-kit/category-drop.scss b/app/assets/stylesheets/common/select-kit/category-drop.scss
index 201ce200b5d..70f21e78145 100644
--- a/app/assets/stylesheets/common/select-kit/category-drop.scss
+++ b/app/assets/stylesheets/common/select-kit/category-drop.scss
@@ -40,6 +40,10 @@
font-size: $font-0;
transition: none;
+ &.is-none .selected-name {
+ color: inherit;
+ }
+
.badge-wrapper {
margin-right: 0;
}
diff --git a/app/assets/stylesheets/common/select-kit/tag-drop.scss b/app/assets/stylesheets/common/select-kit/tag-drop.scss
index 48c114f3031..566cf296fdd 100644
--- a/app/assets/stylesheets/common/select-kit/tag-drop.scss
+++ b/app/assets/stylesheets/common/select-kit/tag-drop.scss
@@ -11,6 +11,10 @@
font-size: $font-0;
transition: none;
+ &.is-none .selected-name {
+ color: inherit;
+ }
+
.d-icon {
opacity: 1;
font-size: $font-0;