-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Bug]: Important modifier not working #4202
Comments
Have you enabled JIT mode as described in the documentation? JIT mode is not currently supported in Tailwind Play, and you are using If you have enabled JIT mode correctly and it's still not working please provide a repository which reproduces the issue, thanks! |
To make utilities important with .ui-state-active {
@apply bg-none whitespace-normal !important;
} This is something we could probably improve now that there's a dedicated important modifier though. |
Added support for this, will be in v2.2 but can test now in canary:
|
What version of Tailwind CSS are you using?
2.1.2
What build tool (or framework if it abstracts the build tool) are you using?
vue-tailwind 2.2.1, webpack 5.21.2
What version of Node.js are you using?
v15.11.0
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction repository
https://play.tailwindcss.com/qVS5lsqxMS
Describe your issue
The important modifier does not work as announced here:
https://tailwindcss.com/docs/just-in-time-mode
The attached reproduction link should have a blue background but it is still gray:
The text was updated successfully, but these errors were encountered: