From 45e977ba0f79c66a09563c6e5a04e4e9ef3ebb9c Mon Sep 17 00:00:00 2001 From: shibao Date: Sat, 5 Feb 2022 14:18:03 -0500 Subject: [PATCH] fix firefox scrollbars --- assets/css/app.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/css/app.scss b/assets/css/app.scss index cb858968..602ce989 100644 --- a/assets/css/app.scss +++ b/assets/css/app.scss @@ -10,6 +10,12 @@ $fa-font-path: "@fortawesome/fontawesome-free/webfonts"; @import "components"; +/* fix firefox scrollbars */ +* { + scrollbar-width: auto; + scrollbar-color: rgba(161, 161, 170, var(--tw-bg-opacity)) white; +} + /* Alerts and form errors used by phx.new */ .alert { padding: 15px;