I had seen it few weeks earlier on meta. But now since our instances have been upgraded to 2.5.0, we too have everything zoomed/quite bigger. Am I missing a setting?
AI-generated summary
After upgrading to Discourse 2.5.0, mittals24 noticed that everything on the site appears larger or zoomed in, particularly on their 4K display. They shared screenshots to illustrate the issue. awesomerobot explained that the base font size was recently changed from a hardcoded value to an em-based value, which is affected by the browser’s font size setting. mittals24 is using Chrome with a custom font size of 20 (Large) to compensate for their 4K display, which was not a problem before the upgrade.
awesomerobot suggested adjusting the text size option in user preferences to smaller, which should help resolve the issue. This change was made to better adhere to accessibility guidelines. mittals24 found this solution helpful and suggested adding an even smaller option, “smallest”, to mirror the “largest” setting. awesomerobot added this feature, which will be available in the next upgrade.
Can you share a screenshot of it?
Which browser are you using? Have you changed any browser font size settings?
We somewhat recently changed how our base font size works. Originally we had been setting it to a hardcoded value of 15px. Now it’s an em-based value, so if your browser’s font size is larger than the typical default (16px) it will also increase the text size in Discourse.
Using chrome with custom font size (20 - Large) to compensate for 4K. Although this was not a problem before this discourse build.
What do you suggest I do to get back to sane sizing? Btw - Chrome zoom to 90% makes the font better but ux element placements seem off.
In your user preferences (Discourse Meta - The Official Support Forum for Discourse) there’s a text size option, selecting smaller should help.
The reason for the change was to better adhere to accessibility guidelines. For example, someone with vision issues might want to increase their browser’s font size. The expectation is that this would make font sizes larger for all content viewed in the browser. The way we had previously defined fonts ignored browser level font-size adjustments completely.
Thanks. That user preferences does help and I understand your reasoning for doing it. ![]()
Update : I see a “Smaller” setting. Maybe there can be a “Smallest” setting which is further 10% smaller than “Smaller” to mirror the “Largest” setting ![]()
True, having the full range couldn’t hurt. I’ve added “smallest” here:
https://github.com/discourse/discourse/commit/66257ca8b697bbc0c8105864e4b5799cad582553
This will be available with your next upgrade.
Awesome - love the quick addition!! ![]()


