feat(firefox): lock sidebar width

This commit is contained in:
Nydragon 2024-11-17 18:50:14 +01:00
parent 3207405614
commit bb04ac2f4f
Signed by: nydragon
SSH key fingerprint: SHA256:WcjW5NJPQ8Dx4uQDmoIlVPLWE27Od3fxoe0IUvuoPHE

View file

@ -13,10 +13,15 @@ lib.mkIf osConfig.programs.firefox.enable {
name = "ny"; name = "ny";
isDefault = true; isDefault = true;
userChrome = '' userChrome = ''
/* hides the native tabs */ /* Hides the native tabs */
#TabsToolbar { #TabsToolbar {
visibility: collapse; visibility: collapse;
} }
/* Fixed width for the sidebar */
#sidebar-box {
max-width: 17.5% !important;
min-width: 17.5% !important;
}
''; '';
settings = { settings = {
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; "toolkit.legacyUserProfileCustomizations.stylesheets" = true;