From 30b4d554d76e327771349361ec464c1875e73b91 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Tue, 12 May 2020 01:13:06 +0900 Subject: [PATCH] Added nicer scrollbars for Firefox (#1686) Firefox supports `scrollbar-width` styling and `scrollbar-width: thin;` looks much closer to how the custom scrollbars on Chrome look. Note: I haven't tested building the theme with this change, but I have tested using this directly in the browser and it looks great. --- src/assets/stylesheets/base/_typeset.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/assets/stylesheets/base/_typeset.scss b/src/assets/stylesheets/base/_typeset.scss index 2cfd1bea8..d61f49460 100644 --- a/src/assets/stylesheets/base/_typeset.scss +++ b/src/assets/stylesheets/base/_typeset.scss @@ -205,6 +205,7 @@ kbd { box-shadow: none; box-decoration-break: slice; touch-action: auto; + scrollbar-width: thin; // Override native scrollbar styles &::-webkit-scrollbar {