Browse Source

Fix spoiler buttons css not rendering correct color in light theme (#19960)

* Updating status__content__spoiler-link css for mastodon-light theme to ensure correct rendering precedence

* Adding focus css selector to status__content__spoiler-link mastodon-light theme

* reformatting code to match convention of having css selectors on separate lines

* fixing code format for  scss linting issue
closed-social-glitch-2
Zach Flanders 2 years ago
committed by GitHub
parent
commit
0beb095a4b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/javascript/styles/mastodon-light/diff.scss

+ 2
- 1
app/javascript/styles/mastodon-light/diff.scss View File

@ -268,7 +268,8 @@ html {
.status__content .status__content__spoiler-link {
background: $ui-base-color;
&:hover {
&:hover,
&:focus {
background: lighten($ui-base-color, 4%);
}
}

Loading…
Cancel
Save