about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorZach Flanders <zachflanders@gmail.com>2022-11-07 15:37:36 -0600
committerGitHub <noreply@github.com>2022-11-07 22:37:36 +0100
commit0beb095a4bfbcce55acb016eaaa54b5e93a56023 (patch)
tree263975aad9c944ee191fa572afd685d68707c2d7 /app/javascript/styles
parentbbf74498f57513751f3506e3bbf7a04be4ad3b67 (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
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/mastodon-light/diff.scss3
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%);
   }
 }