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 2f112432e6
commit e5ae75bf6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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'