• @[email protected]
    link
    fedilink
    English
    -1
    edit-2
    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).

    • @[email protected]
      link
      fedilink
      English
      64 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.

      • @[email protected]
        link
        fedilink
        English
        24 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
      link
      English
      34 months ago

      Maybe a fixed line-height?

      • @[email protected]
        link
        fedilink
        English
        24 months ago

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

        • @JustARaccoon
          link
          English
          34 months ago

          Font-size and line-height are different properties