Skip to content

Commit 0b5b9be

Browse files
fix(button): restore pointer cursor on Button
Tailwind v4 dropped the Preflight rule that gave button/[role="button"] a cursor: pointer, so the base Button showed the default arrow cursor while components that hardcode astw:cursor-pointer (e.g. ActionPanel) did not. Add astw:cursor-pointer to the buttonVariants base classes so all Button instances are consistent. Disabled buttons keep the default cursor via the existing astw:disabled:pointer-events-none. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 6ac1105 commit 0b5b9be

3 files changed

Lines changed: 23 additions & 13 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"@tailor-platform/app-shell": patch
3+
---
4+
5+
Restore pointer cursor on `Button`. Tailwind v4 dropped the Preflight rule that
6+
gave `button`/`[role="button"]` a `cursor: pointer`, so the base `Button` showed
7+
the default arrow cursor while components that hardcode `astw:cursor-pointer`
8+
(e.g. `ActionPanel`) did not. Added `astw:cursor-pointer` to the `buttonVariants`
9+
base classes so all `Button` instances are consistent. Disabled buttons keep the
10+
default cursor via the existing `astw:disabled:pointer-events-none`.

0 commit comments

Comments
 (0)