Commit 0b5b9be
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
- .changeset
- packages/core
- __snapshots__
- src/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments