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
This is because we don't have the latest 3.4 version of Tailwind running, and since we only run our bundled version of it for the Tailwind component, we would need to update internally.
The issue with that is that the new versions of Tailwind require we use async APIs, and this could only be done with either support for server components or support for Suspense. So if we did update we would have to force users to either use renderAsync or bring in #1268 which is going to be a breaking change.
Alright, thank you for clarifying. As a temp fix, we have temporary downgraded the version of "eslint-plugin-tailwindcss" to "3.13.0" so that it does not suggest / warn about classes that are not yet supported.
Describe the Bug
When using tailwind "size" classname, it is not recognised and results in class="size-X" in the html:
<div class="size-8">test</div>
Which package is affected (leave empty if unsure)
@react-email/tailwind
Link to the code that reproduces this issue
https://github.com/CodingSam/react-email-tailwind-size-bug
To Reproduce
npm dev
Expected Behavior
react-email should recognise the "size-X" classname and add the appropriate width and height style attributes. Link to tailwind "Size" documentation.
What's your node version? (if relevant)
No response
The text was updated successfully, but these errors were encountered: