We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.2.8
webpack 5.42.1
v12.22.4
Chrome, Firefox, Safari
macOS
Play Repo: https://play.tailwindcss.com/Uk7nku1LuZ?file=css
Similar to #4823 !important modifiers are not applied to responsive variants
<div class="foo"></div>
.foo { @apply !bg-red-500 md:!block h-4; }
output:
.foo { height: 1rem; --tw-bg-opacity: 1 !important; background-color: rgba(239, 68, 68, var(--tw-bg-opacity)) !important } @media (min-width: 768px) { .foo { display: block } }
The text was updated successfully, but these errors were encountered:
@apply
Hey! Thank you for your bug report! Much appreciated! 🙏
This has been fixed and will be available in the next release.
Sorry, something went wrong.
Thanks @RobinMalfait
RobinMalfait
Successfully merging a pull request may close this issue.
What version of Tailwind CSS are you using?
2.2.8
What build tool (or framework if it abstracts the build tool) are you using?
webpack 5.42.1
What version of Node.js are you using?
v12.22.4
What browser are you using?
Chrome, Firefox, Safari
What operating system are you using?
macOS
Reproduction repository
Play Repo: https://play.tailwindcss.com/Uk7nku1LuZ?file=css
Describe your issue
Similar to #4823 !important modifiers are not applied to responsive variants
output:
The text was updated successfully, but these errors were encountered: