You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems that Nx deploys an older version of tailwindcss than Next does, and the min-h-* utilities were added surprisingly recently in tailwind. So, only a dependency issue after all.
Current Behavior
Some of the Tailwind utility classes seem to be unavailable when using the Nx integration with Next.js.
https://nx.dev/recipes/react/using-tailwind-css-in-react#using-tailwind-css-in-react-and-nextjs
Expected Behavior
For example,
min-h-80
should apply a min-height of 20rem per Tailwind docs.GitHub Repo
https://github.com/donna-marijne/tailwind-next
Steps to Reproduce
nx dev tailwind-next
We expect
min-height: 20rem
to be applied due to addition of themin-h-80
class.Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
I checked the same utility class in a standalone Next.js+Tailwind app and it works as expected.
The text was updated successfully, but these errors were encountered: