Skip to content

Plugin doesn't appear to work when config includes "prefix" property #13

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

Closed
brendan-vincent-rice opened this issue Apr 15, 2023 · 2 comments

Comments

@brendan-vincent-rice
Copy link

What version of @tailwindcss/container-queries are you using?

3.3.1

What version of Node.js are you using?

Tailwind Play

What browser are you using?

Chrome

What operating system are you using?

MacOS

Reproduction repository

https://play.tailwindcss.com/PL5t2J58Lw

Describe your issue

When using the prefix property in the config, the plugin doesn't appear to work. In this Play example, if you comment-out the prefix property, the first "test" word will be underlined properly.

https://play.tailwindcss.com/PL5t2J58Lw

I really like this plugin. Just hoping to get it working when a prefix is used.

Thanks!

@thecrypticace
Copy link
Contributor

Hey! This is because you also need to prefix the @container utility: m-@container.

Here's a Tailwind Play of that working: https://play.tailwindcss.com/Uj3qcNblAa

@brendan-vincent-rice
Copy link
Author

Ah, got it! Thanks so much!

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

2 participants