mirror of
https://github.com/hanzoai/hanzo.industries.git
synced 2026-10-30 14:39:32 +00:00
`font-family: Geist, …` resolves whether or not Geist exists — the browser
just walks to the next name in the stack. So the check asked the question that
has an answer: `document.fonts.check('16px Geist')`, and the same for Geist
Mono. Deleting the fonts import now fails here, which is the only place it can.
Two more, both from reading the numbers rather than the pixels:
- Buttons are measured against their OWN `minHeight`. @hanzo/ui 8.0.46 moved to
`height:auto` + `minHeight` precisely so a long label grows the box instead of
being clipped by a pinned height; a box shorter than the frame it asked for is
that regression coming back.
- The tap-target count was counting painted boxes, so it reported every 32px
`size="sm"` button. @hanzo/ui expands the hit area with an `::after` overlay
driven from `data-touch-y` — a 32px button with `data-touch-y="6"` is a 44px
target. Measuring the box said 36 problems on /press where there were 18.
Co-authored-by: Hanzo Dev <[email protected]>