252
you are viewing a single comment's thread
view the rest of the comments
[-] MonkderVierte@lemmy.ml -1 points 4 months ago* (last edited 4 months ago)

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).

[-] smeeps@lemmy.mtate.me.uk 6 points 4 months ago

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.

[-] MonkderVierte@lemmy.ml 2 points 4 months ago

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.

[-] anyhow2503@lemmy.world 3 points 4 months ago
[-] MonkderVierte@lemmy.ml 2 points 4 months ago

But my usercss enforces font-size: medium for elements but this looks more like x-large. And it works well for 99% of pages.

[-] JustARaccoon@lemmy.world 3 points 4 months ago

Font-size and line-height are different properties

this post was submitted on 24 Jul 2024
252 points (92.6% liked)

Technology

59559 readers
2039 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS