Skip to content
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

Open
jasongerbes opened this issue Dec 1, 2024 · 0 comments
Open

Inconsistent <Body> padding #1796

jasongerbes opened this issue Dec 1, 2024 · 0 comments

Comments

@jasongerbes
Copy link

Describe the Bug

The <Body> component doesn’t explicitly set padding, 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 set padding.

Compare the preview output to Mail on iOS 18.

Expected Behavior

The <Body> component should explicitly set the default padding (presumably to 0).

What's your node version? (if relevant)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants