]> cat aescling's git repositories - mastodon.git/commitdiff
Fix Firefox scrollbar color regression in #9210 (#9908)
authortrwnh <a@trwnh.com>
Thu, 24 Jan 2019 12:32:23 +0000 (06:32 -0600)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 24 Jan 2019 12:32:23 +0000 (13:32 +0100)
In #9210 the track color was changed to transparent for no apparent reason. This PR restores the previous color selections implemented in #8653 while keeping the updated property name. Per https://github.com/tootsuite/mastodon/pull/9210#issuecomment-441788776 there is no particular reason for the color change in #9210.

app/javascript/styles/mastodon/reset.scss

index e24ba8c1c015dff42f2acfd0f916cc8279b30931..f54ed5bc79b1a72231a695a6765931751d663c16 100644 (file)
@@ -54,7 +54,7 @@ table {
 }
 
 html {
-  scrollbar-color: lighten($ui-base-color, 4%) transparent;
+  scrollbar-color: lighten($ui-base-color, 4%) rgba($base-overlay-background, 0.1);
 }
 
 ::-webkit-scrollbar {