From 3ad6a15f5666d6be30b8d13450dcb07fdf2eb2e3 Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 18 Nov 2023 21:00:11 +0000 Subject: [PATCH] firefox: reduce scrollbar size :-( --- hosts/common/programs/firefox.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/common/programs/firefox.nix b/hosts/common/programs/firefox.nix index 2f2301968..4e58ef139 100644 --- a/hosts/common/programs/firefox.nix +++ b/hosts/common/programs/firefox.nix @@ -229,7 +229,8 @@ in // scrollbar configuration, see: // style=4 gives rectangular scrollbars // could also enable "always show scrollbars" in about:preferences -- not sure what the actual pref name for that is - defaultPref("widget.non-native-theme.scrollbar.size.override", 50); + // note that too-large scrollbars (like 50px wide) tend to obscure content (and make buttons unclickable) + defaultPref("widget.non-native-theme.scrollbar.size.override", 20); defaultPref("widget.non-native-theme.scrollbar.style", 4); ''; fs."${cfg.browser.dotDir}/default".dir = {};