Skip to content

Fix email width for long content - #303

Merged
arjunkomath merged 1 commit into
mainfrom
fix/email-content-width
Aug 22, 2026
Merged

Fix email width for long content#303
arjunkomath merged 1 commit into
mainfrom
fix/email-content-width

Conversation

@arjunkomath

Copy link
Copy Markdown
Member

Summary

  • constrain the shared email container to a responsive 600px maximum width
  • force long unbroken content to wrap without resizing email tables
  • cover both alert and invitation templates with rendered HTML regression tests

Verification

  • pnpm exec oxfmt --check lib/email/templates/base.tsx tests/email-templates.test.tsx
  • pnpm exec vitest run tests/email-templates.test.tsx
  • ./node_modules/.bin/tsc --noEmit
  • pnpm lint (0 errors; 7 existing unrelated warnings)

Manual verification

  • Pending in the email client where the build-failure width issue was observed.

@github-actions

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit aa4f68f.

@arjunkomath
arjunkomath added this pull request to the merge queueAug 22, 2026
Merged via the queue into main with commit 03d3bd1Aug 22, 2026
7 checks passed
@arjunkomath
arjunkomath deleted the fix/email-content-width branch August 22, 2026 01:41
Sign up for freeto 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.

1 participant

@arjunkomath