From 56537e75fd405270ecee158767e0a38f8a0cfa8f Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Fri, 15 Sep 2023 21:10:15 +0800 Subject: [PATCH] Fixed #931 --- src/other/firefox/common/parts/icons.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/other/firefox/common/parts/icons.css b/src/other/firefox/common/parts/icons.css index 55c560a..a2e30e6 100644 --- a/src/other/firefox/common/parts/icons.css +++ b/src/other/firefox/common/parts/icons.css @@ -6,7 +6,15 @@ .autoscroller { --panel-background: transparent !important; --panel-border-color: transparent !important; - background-image: url("chrome://global/skin/icons/autoscroll.svg") !important; + background: #fff url('chrome://global/skin/icons/autoscroll.svg') no-repeat center !important; + border-radius: 50% !important; + padding: 0 !important; +} +.autoscroller[scrolldir='NS'] { + background-image: url('chrome://global/skin/icons/autoscroll-vertical.svg') !important; +} +.autoscroller[scrolldir='EW'] { + background-image: url('chrome://global/skin/icons/autoscroll-horizontal.svg') !important; } /* Built-in firefox icons color */