Fix styling of featured tags in light theme (#23252)

* Fix styling of featured tags in light theme

Fixes #23251

* Remove broken highlighting on /settings/featured_tags
This commit is contained in:
Claire 2023-01-25 16:28:29 +01:00 committed by GitHub
parent b26ab9916d
commit 9ff964c90c
2 changed files with 1 additions and 20 deletions

View file

@ -551,25 +551,6 @@ html {
} }
} }
.directory__tag.active > a,
.directory__tag.active > div {
border-color: $ui-highlight-color;
&,
h4,
h4 small,
.fa,
.trends__item__current {
color: $white;
}
&:hover,
&:active,
&:focus {
background: $ui-highlight-color;
}
}
.batch-table { .batch-table {
&__toolbar, &__toolbar,
&__row, &__row,

View file

@ -17,7 +17,7 @@
%hr.spacer/ %hr.spacer/
- @featured_tags.each do |featured_tag| - @featured_tags.each do |featured_tag|
.directory__tag{ class: params[:tag] == featured_tag.name ? 'active' : nil } .directory__tag
%div %div
%h4 %h4
= fa_icon 'hashtag' = fa_icon 'hashtag'