-
Notifications
You must be signed in to change notification settings - Fork 4k
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
!important being added to custom utilities #2906
Comments
This looks like a dupe of #2823. |
RobinMalfait
added a commit
that referenced
this issue
Nov 26, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using important: true so that my utility classes have the !important declaration, but for some reason certain custom rules within my stylesheet are getting !important added automatically too. FYI it is not adding !important to all my custom CSS. I've repeated the problem here:
https://play.tailwindcss.com/Hj5l41DW67
From the tailwind 2.0 docs:
To generate utilities as !important, set the important key in your configuration options to true:
Note that any of your own custom utilities will not automatically be marked as !important by enabling this option.
The text was updated successfully, but these errors were encountered: