this post was submitted on 24 Jul 2024
252 points (92.6% liked)
Technology
59298 readers
4979 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
See, this is another thing broken in the current web. I made a usercss (Stylus) to normalize font size for certain elements and it works reasonably well. But on this site, it looks like this.
Anyone has a guess why, something with viewport or other meta tags?
Edit: fixed, they use a custom font with weird size settings. Looks like this now (with my normalize usercss).
As a web dev we do try to accommodate userCSS for accessibility reasons but often font sizes are tuned to what they are for a reason. I'd guess there's a line height issue here.
You mean that their font was customized to display a certain size, for whatever reason?
Right,
browser.display.use_document_fonts = 0
fixed it, lol.Maybe a fixed line-height?
But my usercss enforces font-size: medium for elements but this looks more like x-large. And it works well for 99% of pages.
Font-size and line-height are different properties