Restore pointer cursor on eligible buttons#8878
Merged
Conversation
Contributor
Author
|
Bundler 4 😞 |
In v4.0.0.beta19 we lost the global `cursor: pointer` styling for interactive navbar links and buttons. This regression stems from Tailwind's removal of the default pointer cursor on buttons and elements with `role="button"`. Update plugin.js to explicitly set `cursor: pointer` for: - `button:not(:disabled)` - `[role='button']:not(:disabled)` This restores expected hover behavior in the admin navbar and other interactive controls, aligning beta19 with beta18 UX. Refs: - tailwindlabs/tailwindcss#15773 - tailwindlabs/tailwindcss.com#2023 Fixes #8877
30f116f to
11a8c32
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #8878 +/- ##
=======================================
Coverage 99.08% 99.08%
=======================================
Files 139 139
Lines 4046 4046
=======================================
Hits 4009 4009
Misses 37 37 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In v4.0.0.beta19 we lost the global
cursor: pointerstyling for interactive navbar links and buttons.This regression stems from Tailwind's removal of the default pointer cursor on buttons and elements with
role="button".Update plugin.js to explicitly set
cursor: pointerfor:button:not(:disabled)[role='button']:not(:disabled)This restores expected hover behavior in the admin navbar and other interactive controls, aligning beta19 with beta18 UX.
Refs:
Fixes #8877