Skip to content

fix: zeroed composed body margins#3653

Merged
danilowoz merged 2 commits into
canaryfrom
07-14-fix_zeroed_composed_body_margins
Jul 14, 2026
Merged

fix: zeroed composed body margins#3653
danilowoz merged 2 commits into
canaryfrom
07-14-fix_zeroed_composed_body_margins

Conversation

@danilowoz

@danilowoz danilowoz commented Jul 14, 2026

Copy link
Copy Markdown
Member

Summary by cubic

Zeroed the composed email body margin and padding in @react-email/editor to remove unwanted spacing and ensure consistent theming across email clients.

Written for commit bcce059. Summary will update on new commits.

Review in cubic

@changeset-bot

changeset-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: bcce059

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@react-email/editor Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-email Ready Ready Preview, Comment Jul 14, 2026 1:58pm
react-email-demo Ready Ready Preview, Comment Jul 14, 2026 1:58pm

@pkg-pr-new

pkg-pr-new Bot commented Jul 14, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@react-email/editor@3653

commit: bcce059

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Auto-approved: Bounded bug fix zeroing body margins/padding in the email editor to eliminate unwanted spacing across email clients. The change is confined to CSS defaults for the composed body wrapper and does not affect any API, auth, data, or operational settings.

Re-trigger cubic

@danilowoz
danilowoz merged commit 8e7964a into canary Jul 14, 2026
19 checks passed
@danilowoz
danilowoz deleted the 07-14-fix_zeroed_composed_body_margins branch July 14, 2026 13:59
)}

<Body style={mergedStyles.body}>{children}</Body>
<Body

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is the right appraoch here. Should these just maybe be part of the default theme instead?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants