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

Support applying important utilities in JIT #4260

Merged
merged 1 commit into from May 6, 2021
Merged

Conversation

@adamwathan
Copy link
Contributor

@adamwathan adamwathan commented May 6, 2021

Resolves #4202

This PR makes it possible to apply utilities with the important ! prefix and have them properly applied as !important:

.my-class {
  @apply font-bold !px-3;
}

Previous !important would be lost when applying !px-3.

@adamwathan adamwathan merged commit 33fbad9 into master May 6, 2021
2 checks passed
2 checks passed
@github-actions
build (12.x)
Details
@github-actions
build (14.x)
Details
@adamwathan adamwathan deleted the apply-important-modifier branch May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant