-
Notifications
You must be signed in to change notification settings - Fork 743
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
Inconsistent <Body>
padding
#1796
Comments
I am Mark Buster and Part of Team Green. Team Green is a group of students attending North Seattle College and We are working on/claiming this issue. |
We've tested this issue by sending emails to both Gmail and iOS Mail clients, and we're noticing some inconsistencies with padding, particularly around social media icons. However, we were hoping to clarify the following:
-Team Green NSC |
I was referring to the It's possible that other React Email components have the same issue, but I haven't tested them. |
@jasongerbes Can you share some screenshots for how exactly it ends up being different from preview to email client? Looking at it myself, I couldn't see much of a difference on the demo email you linked to. |
Describe the Bug
The
<Body>
component doesn’t explicitly setpadding
, meaning that its value is inconsistent between the dev preview and mail clients.Which package is affected (leave empty if unsure)
@react-email/body
Link to the code that reproduces this issue
https://demo.react.email/preview/magic-links/slack-confirm?view=desktop&lang=markup
To Reproduce
Create an email with the
<Body>
component - do not explicitly setpadding
.Compare the preview output to Mail on iOS 18.
Expected Behavior
The
<Body>
component should explicitly set the defaultpadding
(presumably to0
).What's your node version? (if relevant)
No response
The text was updated successfully, but these errors were encountered: