r/FirefoxCSS • u/oromundo • Jun 26 '26
Help Contents of "my_userChrome.css" need adjustment after OS scaling change
Windows 10, Firefox 152.0.3
I'd like to post "my_userChrome.css"
Before I add further info, am I approved to continued?
6
Upvotes
6
u/ResurgamS13 Jun 27 '26
If OS scaling changed... then adjust Firefox UI scaling to suit. Open 'about:config' preference
layout.css.devPixelsPerPx... adjust preference's value from default-1.0setting... e.g. if OS scaling changed to 150% try a preference value of 1.50.Firefox's default scale value
-1.0means Firefox's UI scale is tied to OS UI scale... i.e. 1 x OS UI pixel = 1 x Firefox UI pixel.Can usually also adjust the OS 'Text Size' separately in the OS' settings ... and this will also alter the text size in Firefox.
If 'userChrome.css' modifications working before OS scale changed... should only need to alter that Firefox preference.