Skip to content

Add hover queries #1035

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
Jun 5, 2025
Merged

Add hover queries #1035

merged 2 commits into from
Jun 5, 2025

Conversation

claviska
Copy link
Member

@claviska claviska commented Jun 5, 2025

Adds @media (hover: hover) { ... } around component hover styles to prevent sticky hover states.

It's so nice that we can nest these! 😅

Fixes #990

@claviska claviska requested a review from lindsaym-fa June 5, 2025 20:04
@claviska claviska self-assigned this Jun 5, 2025
@claviska claviska added the components Component-related issues typically affecting multiple components label Jun 5, 2025
Copy link

vercel bot commented Jun 5, 2025

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

Name Status Preview Updated (UTC)
webawesome ✅ Ready (Inspect) Visit Preview Jun 5, 2025 9:59pm

@claviska claviska enabled auto-merge (squash) June 5, 2025 20:04
Copy link
Contributor

@lindsaym-fa lindsaym-fa left a comment

Choose a reason for hiding this comment

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

Pushed a small commit to add @media (hover: hover) to the hover styles for <wa-radio appearance="button"> since that was the culprit in the original issue.

All looks good!

@claviska claviska merged commit c162983 into next Jun 5, 2025
2 checks passed
@claviska claviska deleted the hover-queries branch June 5, 2025 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
components Component-related issues typically affecting multiple components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add hover media query to all hover styles
2 participants