Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
web/components: keep Button one height with or without a label master
The size variants' min-h values are the Figma button heights (32/36/40), but line-height plus py-1.5 and the 1px border already exceeded them, so the floor only ever applied to icon-only buttons. A labelled button came out 2-5px taller than an icon-only one beside it. Dropping to py-1 keeps content under the min-h at every size; the padding still acts as the floor if a label wraps. Signed-off-by: eti <eti@eti.tf>
Author eti Date (Jul 30, 2026, 8:04 PM UTC) Commit 3f2f353c 3f2f353c48f4ff410e18b44d29c36c386eada8ae Parent fe1ce72b fe1ce72b1f38f23d31fbcadd7aface79788f5a6a