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 30, 2026, 4:45 PM UTC) Commit 5d31243b 5d31243bbe7eb7197a23d7b3b06f8362e2bf3da4 Parent 7745e7c8 7745e7c8862ee8cfbd04c0dee024898e138fbbe0 Change ID nvutsvvv nvutsvvvnuxupvlzmswpspuulmskmstw