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
This commit is contained in:
Zach Flanders 2022-11-07 15:37:36 -06:00 committed by GitHub
parent bbf74498f5
commit 0beb095a4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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