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
When using custom media queries with the raw key inside the Tailwind conf, the output strips the space before and, which causes the styles not to be applied.
pnpm run dev -> Inspect -> Check <style> inside head.
or pnpm run export -> out/template.html -> <style> inside head.
Expected Behavior
The output in my example should be: @media only screen and (min-width:575px) and (min-device-width:875px)
instead @media only screen and(min-width:575px) and(min-device-width:875px)
What's your node version? (if relevant)
22.12
The text was updated successfully, but these errors were encountered:
Describe the Bug
When using custom media queries with the
raw
key inside the Tailwind conf, the output strips the space before and, which causes the styles not to be applied.Which package is affected (leave empty if unsure)
@react-email/tailwind
Link to the code that reproduces this issue
https://github.com/pdolezal0/react-email-tw-custom-query
To Reproduce
pnpm run dev
-> Inspect -> Check <style> inside head.or
pnpm run export
-> out/template.html -> <style> inside head.Expected Behavior
The output in my example should be:
@media only screen and (min-width:575px) and (min-device-width:875px)
instead
@media only screen and(min-width:575px) and(min-device-width:875px)
What's your node version? (if relevant)
22.12
The text was updated successfully, but these errors were encountered: