diff options
author | winh <winnie@gitlab.com> | 2017-09-04 15:16:01 +0200 |
---|---|---|
committer | winh <winnie@gitlab.com> | 2017-09-04 15:16:01 +0200 |
commit | b354754f234055ac8bbb4b02cc9524d6da3843c3 (patch) | |
tree | 2131360a67f9fe5ac8230aa8ccdb21fc4f0c65bd | |
parent | 6fffddab70825f5a0b63be39de0d332a79d42479 (diff) | |
download | gitlab-ce-winh-text-danger-selector.tar.gz |
Avoid @extend for .text-danger in dropdownswinh-text-danger-selector
-rw-r--r-- | app/assets/stylesheets/framework/dropdowns.scss | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index a49f9f99872..e29e1806b38 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -756,7 +756,7 @@ // make sure the text color is not overriden &.text-danger { - @extend .text-danger; + color: $brand-danger; } &.is-focused, @@ -765,6 +765,11 @@ &:focus { background-color: $dropdown-item-hover-bg; color: $gl-text-color; + + // make sure the text color is not overriden + &.text-danger { + color: $brand-danger; + } } &.is-active { |