Skip to content

Document button cursor change #2023

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 28, 2025
Merged

Document button cursor change #2023

merged 2 commits into from
Jan 28, 2025

Conversation

philipp-spiess
Copy link
Member

Copy link

vercel bot commented Jan 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 28, 2025 3:09pm

@@ -418,6 +418,20 @@ You probably won't even notice this change (it might even make your project look
}
```

#### Button cursor change

In v3, `button` elements would have a `cursor: pointer` by default. This was changed in v4 to be closer to browser defaults.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In v3, `button` elements would have a `cursor: pointer` by default. This was changed in v4 to be closer to browser defaults.
In v3, `button` elements had `cursor: pointer` by default. This was changed in v4 to be closer to browser defaults.


In v3, `button` elements would have a `cursor: pointer` by default. This was changed in v4 to be closer to browser defaults.

To update your project for this change, you can apply the following compatibility styles:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To update your project for this change, you can apply the following compatibility styles:
If you want to bring back the old behavior in your project you can apply the following compatibility styles:

I think this sounds better. Thoughts?

@adamwathan adamwathan merged commit 784c83e into main Jan 28, 2025
1 of 2 checks passed
@adamwathan adamwathan deleted the button-cursor-change branch January 28, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default button style missing pointer cursor property
3 participants