Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
web/components: press Button's content, not the button itself master
the raised variants moved the whole button down 2px on :active, so a pressed button nudged its own box and anything laid out against it. the depth now reads purely from the ::before shadow flip plus the label sinking: the translate moved onto a wrapper span around the content, driven by active:*:translate-y-0.5. the wrapper takes gap-[inherit] so the size variants' gap still applies across the extra level, and geometry is unchanged — the sizes, loading and inset-shadow stories measure identical button rects before and after. Signed-off-by: eti <eti@eti.tf>
Author eti Committer dawn Date (Jul 31, 2026, 7:57 PM UTC) Commit 402267ce 402267ce15af22bedd90100010ebd613335bf04c Parent eb6f8b75 eb6f8b75030e2191c032eb5c5f552b73764e31fe Change ID nvutsvvv nvutsvvvnuxupvlzmswpspuulmskmstw