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

does not work with the responsive utility variants #1

Open
rvwoens opened this issue Sep 16, 2022 · 1 comment
Open

does not work with the responsive utility variants #1

rvwoens opened this issue Sep 16, 2022 · 1 comment

Comments

@rvwoens
Copy link

rvwoens commented Sep 16, 2022

It does not seem to work with the responsive utility variants

md:w-12%

is that correct? Because that's what I needed

@rvwoens
Copy link
Author

rvwoens commented Sep 16, 2022

found a simple solution. In tailwind 2.x you need to add the variants by specifying them in addUtilities()

            addUtilities(newUtilities,['responsive']);

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

No branches or pull requests

1 participant