Skip to content

Commit

Permalink
Fix styling of featured tags in light theme (#23252)
Browse files Browse the repository at this point in the history
* Fix styling of featured tags in light theme

Fixes #23251

* Remove broken highlighting on /settings/featured_tags
  • Loading branch information
ClearlyClaire committed Jan 25, 2023
1 parent 2f11243 commit e5ae75b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
19 changes: 0 additions & 19 deletions app/javascript/styles/mastodon-light/diff.scss
Expand Up @@ -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 {
&__toolbar,
&__row,
Expand Down
2 changes: 1 addition & 1 deletion app/views/settings/featured_tags/index.html.haml
Expand Up @@ -17,7 +17,7 @@
%hr.spacer/

- @featured_tags.each do |featured_tag|
.directory__tag{ class: params[:tag] == featured_tag.name ? 'active' : nil }
.directory__tag
%div
%h4
= fa_icon 'hashtag'
Expand Down

0 comments on commit e5ae75b

Please sign in to comment.