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
{{ message }}
Repository navigation
Media queries use nested syntax with unsupported ranges <= operators #3009
Upon migrating to the latest version of react email components that ships with Tailwind v4, media queries stopped working in Android Gmail. This issue isn't reproducible on Web within the preview as these features are widely available in standard browser environment, however they are too modern for other email clients.
Tailwind v4 is using this syntax to render styles for various breakpoints
Send yourself an email from Preview server and open the email in Gmail on your phone. Observe that media query is not applying green colour to the text.
Expected Behavior
Media queries cannot be nested and cannot use <= / >= range operators to be compatible with mobile Gmail.
Code that works using a hacky solution that entirely bypasses tailwind breakpoint variants
Activity
fix(tailwind): convert modern CSS to legacy syntax for email client c…