Commit 2ca7f90a authored by Phil Hughes's avatar Phil Hughes

Merge branch 'winh-text-danger-selector' into 'master'

Avoid @extend for .text-danger in dropdowns

Closes #37396

See merge request !14030
parents 2db0e4c6 b354754f
...@@ -768,7 +768,7 @@ ...@@ -768,7 +768,7 @@
// make sure the text color is not overriden // make sure the text color is not overriden
&.text-danger { &.text-danger {
@extend .text-danger; color: $brand-danger;
} }
&.is-focused, &.is-focused,
...@@ -777,6 +777,11 @@ ...@@ -777,6 +777,11 @@
&:focus { &:focus {
background-color: $dropdown-item-hover-bg; background-color: $dropdown-item-hover-bg;
color: $gl-text-color; color: $gl-text-color;
// make sure the text color is not overriden
&.text-danger {
color: $brand-danger;
}
} }
&.is-active { &.is-active {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment