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

fix(body): Use css type selector for body background for outlook #1946

Open
wants to merge 19 commits into
base: canary
Choose a base branch
from

Conversation

hillac
Copy link

@hillac hillac commented Mar 8, 2025

Background color style in body doesn't work in outlook web. Outlook converts body to a div and strips styles. For example the stripe-welcome demo email doesn't render correctly in outlook, there is no background. Outlook seems to respect type selectors so adding a style tag with body type selector fixes this.

See #662

May need to do this for every style applied to the body.

Copy link

vercel bot commented Mar 8, 2025

@hillac is attempting to deploy a commit to the resend Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

changeset-bot bot commented Mar 8, 2025

⚠️ No Changeset found

Latest commit: b8afcc8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

KayleeWilliams and others added 16 commits March 17, 2025 10:46
…1749)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: gabriel miranda <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bu Kinoshita <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gabriel miranda <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
h4sohail and others added 3 commits March 20, 2025 09:58
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
background color doesn't work in outlook for body
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.

7 participants