|
|
|
|
|
by jlarocco
1775 days ago
|
|
I do have a high DPI display, and HN is ridiculously tiny without manually overriding, because it's setting text size in pixels instead of points, for no good reason. It doesn't make any sense. View source shows: line-height:12pt; height:10px;
Why use device independent units for line-height, but not the text itself? |
|
"px" in css doesn't correspond to literal pixels on the display.
>By definition, this is the physical size of a single pixel at a pixel density of 96 DPI, located an arm's length away from the viewer's eyes.
https://developer.mozilla.org/en-US/docs/Glossary/CSS_pixel