• MonkderVierte@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    4
    ·
    edit-2
    3 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
      link
      fedilink
      English
      arrow-up
      6
      ·
      3 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
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 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.