Browse Source

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
closed-social-glitch-2
Claire 1 year ago
committed by GitHub
parent
commit
e5ae75bf6a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 20 deletions
  1. +0
    -19
      app/javascript/styles/mastodon-light/diff.scss
  2. +1
    -1
      app/views/settings/featured_tags/index.html.haml

+ 0
- 19
app/javascript/styles/mastodon-light/diff.scss 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 {
&__toolbar,
&__row,

+ 1
- 1
app/views/settings/featured_tags/index.html.haml View File

@ -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'

Loading…
Cancel
Save