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

Added a note about prefixes #19

Merged
merged 2 commits into from Jul 28, 2023
Merged

Conversation

smebberson
Copy link
Contributor

@smebberson smebberson commented Jul 28, 2023

After failing to get containers to work, I discovered #13 and that I was suffering from the same problem.

This PR adds a little note to the documentation to make it clear, because it wasn't obvious to me either.

@adamwathan
Copy link
Member

adamwathan commented Jul 28, 2023

Hey thanks! This isn't something we normally document in plugins because it's always been the case that if you enable a prefix, every Tailwind class needs to be prefixed to work. I'm going to merge it though because with the special @ character I think it's maybe less obvious where/how to use the prefix with the @container class. Thanks.

Just a heads up — the prefix was also missing on the @lg/main:underline class in the PR, so I've fixed that otherwise the documentation would have been incorrect 👍

@adamwathan adamwathan merged commit c287ac7 into tailwindlabs:main Jul 28, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants