Something went wrong. Try again.
Monorepo for Tangled tangled.org
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 Seongmin Lee Date (Aug 13, 2026, 11:56 AM UTC) Commit 8bd1e0b0 8bd1e0b069affcad7ff59cbea15028baf248758b Parent 89af3645 89af3645841ade164680fb93ffa84cfed994362e Change ID nvutsvvv nvutsvvvnuxupvlzmswpspuulmskmstw