Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 13x | /** * The dense control tier, for `Button` call sites on the lead screens. * * The Job Book sizes every control at 40 / 32 / 24px, with a 44px floor that * applies ONLY under a coarse pointer. `components/ui/button.tsx` predates * that: its sizes are 40 / 36 / 44 / 40, so `size="sm"` lands on 36px — between * tiers, and visibly off next to a `tier="dense"` `Select` (32px) in the same * toolbar. It also implements no coarse-pointer floor, so a dense button stays * dense under a thumb. * * This fixes both at the call site rather than in the primitive, because * `button.tsx` is shared with every other surface in the portal and re-tiering * it is its own change with its own visual review. When it grows a `tier` prop, * delete this and pass `tier="dense"`. */ export const DENSE_BUTTON = "h-8 pointer-coarse:min-h-11"; |