ui
ui copied to clipboard
fix(components): use "supports-hover" to improve display on mobile devices
Add supports-hover variant to Tailwind config for better mobile UX
- Introduces a new Tailwind variant 'supports-hover'
- Uses @media (hover: hover) to target devices with true hover capability
- Allows conditional application of hover styles
- Fixes inconsistent toggle button behavior on touch devices
- Maintains hover effects on desktop while disabling them on most mobile devices