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

tailwind classes not having any effect #445

Closed
MortenHofft opened this issue Jan 8, 2024 · 1 comment
Closed

tailwind classes not having any effect #445

MortenHofft opened this issue Jan 8, 2024 · 1 comment

Comments

@MortenHofft
Copy link
Member

I have difficulties getting tailwind classes to be used. What am I missing please? According to the documentation there are utlitiy classes to set the max width https://tailwindcss.com/docs/max-width
e.g. max-w-9 - but it does nothing for me.

<div className="max-w-9 bg-slate-200">I would expect this to set a max width, but that isn't so https://tailwindcss.com/docs/max-width</div>

@MortenHofft
Copy link
Member Author

Turns out that we were using 3.3.5 and the documentation is 3.4.0 and I was using classes that had been added in October
tailwindlabs/tailwindcss#12300

I've updated the dependency

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