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

Skip over classes inside :not(…) when nested in an at-rule #12105

Merged
merged 2 commits into from
Sep 28, 2023

Conversation

thecrypticace
Copy link
Contributor

When defining a utility we skip over classes inside :not(…) but we missed doing this when classes were contained within an at-rule. This fixes that.

Fixes #12099

When defining a utility we skip over classes inside `:not(…)` but we missed doing this when classes were contained within an at-rule. This fixes that.
@thecrypticace thecrypticace merged commit 1e7dd3a into master Sep 28, 2023
10 checks passed
@thecrypticace thecrypticace deleted the fix/not-scanning-in-at-rules branch September 28, 2023 14:46
thecrypticace added a commit that referenced this pull request Oct 23, 2023
* Skip over classes inside `:not(…)` when nested in an at-rule

When defining a utility we skip over classes inside `:not(…)` but we missed doing this when classes were contained within an at-rule. This fixes that.

* Update changelog
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.

Tailwind looks for classes inside :not() in utilities and components when in at-rules
1 participant