You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When browsing Wikipedia using Chrome/Firefox on Windows 10 with devicePixelRatio=1.25, the article text has too small left padding (see screenshot below). Setting the font-size: 16.5px; on body fixes this problem.
The text was updated successfully, but these errors were encountered:
That's interesting. And thanks for the fix. So I assume I can fix this by detecting devicePixelRatio and doing some maths to set the correct padding. I'm gonna have to look into it.
I think I found the real issue: on Windows 10 font-family: monospace is using Consolas font, which is shorter than Courier New. So the device-ratio-agnostic solution is to use font-family: 'Courier New', monospace instead and remain the 15px font size.
When browsing Wikipedia using Chrome/Firefox on Windows 10 with
devicePixelRatio=1.25
, the article text has too small left padding (see screenshot below). Setting thefont-size: 16.5px;
onbody
fixes this problem.The text was updated successfully, but these errors were encountered: