diff options
author | Zach Flanders <zachflanders@gmail.com> | 2022-11-07 15:37:36 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 22:37:36 +0100 |
commit | 0beb095a4bfbcce55acb016eaaa54b5e93a56023 (patch) | |
tree | 263975aad9c944ee191fa572afd685d68707c2d7 | |
parent | bbf74498f57513751f3506e3bbf7a04be4ad3b67 (diff) |
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
-rw-r--r-- | app/javascript/styles/mastodon-light/diff.scss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon-light/diff.scss b/app/javascript/styles/mastodon-light/diff.scss index d928a55ed..d960070d6 100644 --- a/app/javascript/styles/mastodon-light/diff.scss +++ b/app/javascript/styles/mastodon-light/diff.scss @@ -268,7 +268,8 @@ html { .status__content .status__content__spoiler-link { background: $ui-base-color; - &:hover { + &:hover, + &:focus { background: lighten($ui-base-color, 4%); } } |