‹ BackHN Continuity

Thread

Better Icon and Label Alignment

43 points · 8 comments · eustoria

  1. pveierland · · focus · HN ↗
    There's new CSS capabilities [0] that can help solve this problem better now via alignment-baseline [1] and text-box-trim [2].

    [0] <a href="https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;css-inline-3&#x2F;#leading-trim" rel="nofollow">https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;css-inline-3&#x2F;#leading-trim

    [1] <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;CSS&#x2F;Reference&#x2F;Properties&#x2F;alignment-baseline" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;CSS&#x2F;Reference&#x2F;P...

    [2] <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;CSS&#x2F;Reference&#x2F;Properties&#x2F;text-box-trim" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;CSS&#x2F;Reference&#x2F;P...

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.