Better Icon and Label Alignment
Thread
Loading the complete thread in the background. This saved snapshot is available now. Refresh
Unofficial Hacker News client; not affiliated with Y Combinator.
Better Icon and Label Alignment
Loading the complete thread in the background. This saved snapshot is available now. Refresh
Unofficial Hacker News client; not affiliated with Y Combinator.
gfat · · focus · HN ↗
pveierland · · focus · HN ↗
[0] <a href="https://www.w3.org/TR/css-inline-3/#leading-trim" rel="nofollow">https://www.w3.org/TR/css-inline-3/#leading-trim
[1] <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/alignment-baseline" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/P...
[2] <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/text-box-trim" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/P...
lenkite · · focus · HN ↗
LinguaBrowse · · focus · HN ↗
… Except in Safari.
It's a disappointment – I was really hoping to come away with an elegant solution to this problem that's cropped up so often during my career, but it doesn't give me much faith in the author's web layout course if they don't test on the one rendering engine that all iOS users are stuck with.
LinguaBrowse · · focus · HN ↗
I think the lh unit is surely part of the puzzle, but something more is needed. It assumes that the ascent and descent are symmetrical, for one thing.
systoll · · focus · HN ↗
echoangle · · focus · HN ↗
zulux · · focus · HN ↗
I think it would drive most of your fellow humans nuts. My hunch is that people read the bullets as sentence markers, not just a visual flourish.
jhbggjnjih · · focus · HN ↗
Visual hierarchy is a thing and when you have 3 icons next to single lines, you by default expect the all to follow the same pattern, cratering the icon vertically next to multi line text breaks the established visual pattern.
Author even did some bad things such as expanding the circle radius way too outside the x-height so the emphasis lies strictly on the circle, when it should be on the line… but anyways.
dcrazy · · focus · HN ↗
[dead]