fix(ui): add cursor-pointer to Button component#1029
fix(ui): add cursor-pointer to Button component#1029Kitenite merged 1 commit intosuperset-sh:mainfrom
Conversation
📝 WalkthroughWalkthroughA CSS utility class Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~1 minute Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
my least favorite tailwind 4 "feature". Thanks for updating @samuelswandi |
Summary
cursor-pointerclass to the shared Button component so all buttons show pointer cursor on hoverProblem
Buttons in dialogs (and across the app) were not showing a pointer cursor on hover, making them feel unclickable.
Solution
Added
cursor-pointerto the base CVA styles inpackages/ui/src/components/ui/button.tsx. This fixes all buttons across the entire application.Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.