Skip to content
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

Exclude non-relevant selectors when generating rules with the important modifier. Fixes #9677. #9704

Conversation

cjpearson
Copy link
Contributor

This PR resolves the issue described in #9677.

With this change, when an important modifier is applicable to a rule with multiple selectors, the generated rule with important declarations will only include selectors that include the modified class.

@adamwathan adamwathan merged commit 661f58c into tailwindlabs:master Nov 1, 2022
@adamwathan
Copy link
Member

I just want to say this is one of the most well-executed PRs we've ever received — thanks for taking the time to figure out the best/simplest way to solve this issue, for including tests, and for updating the changelog, all looks great! 🙌

@cjpearson
Copy link
Contributor Author

Thanks Adam! Glad I could help :)

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.

None yet

2 participants