Skip to content

Fix child combinator :where selectors #268

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 16, 2022
Merged

Fix child combinator :where selectors #268

merged 2 commits into from
Jun 16, 2022

Conversation

bradlc
Copy link
Contributor

@bradlc bradlc commented May 25, 2022

Fixes #266

This PR fixes selector generation when the selector starts with a child combinator (>), e.g. > ul > li p

Before

.prose > :where(ul > li p)

After

.prose :where(.prose > ul > li p)

@vercel
Copy link

vercel bot commented May 25, 2022

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

Name Status Preview Updated
tailwindcss-typography ✅ Ready (Inspect) Visit Preview Jun 16, 2022 at 1:00PM (UTC)

@bradlc bradlc merged commit 69d4b66 into master Jun 16, 2022
@bradlc bradlc deleted the fix-child-combinator branch June 16, 2022 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Selector '> ul > li p'
1 participant