Silent removal of cursor: pointer on <button> in Tailwind v4 #18182
-
IssueIt appears that Tailwind CSS v4 removed the following base style without documentation or explanation:
This rule was present in Tailwind v3.4.17 and can be found in preflight.css. However, by v4.0.0-alpha.22, it’s no longer included, and there’s no mention of this change in the release notes or documentation. Request:
Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I'm not part of the Tailwind team, but here's my take on it. I believe it is intentional. If we look at #14061, (which talks about some rule overriding |
Beta Was this translation helpful? Give feedback.
-
It was not silently removed, we documented it in the upgrade guide here: https://tailwindcss.com/docs/upgrade-guide#buttons-use-the-default-cursor
|
Beta Was this translation helpful? Give feedback.
It was not silently removed, we documented it in the upgrade guide here: https://tailwindcss.com/docs/upgrade-guide#buttons-use-the-default-cursor