Skip to content

mail-react: Document switching content by breakpoint - #6221

Open
VPS-Ricky wants to merge 2 commits into
mainfrom
mail-react-breakpoint-content-switch
Open

mail-react: Document switching content by breakpoint#6221
VPS-Ricky wants to merge 2 commits into
mainfrom
mail-react-breakpoint-content-switch

Conversation

@VPS-Ricky

@VPS-Ricky VPS-Ricky commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

A project that consumes the package hid one layout with a <style> rule alone and shipped an email that showed both, because Gmail with a non-Google account and other clients remove embedded styles.
The package had no example and no written guidance, so each project derives the pattern again.

@VPS-Ricky VPS-Ricky self-assigned this Aug 20, 2026
@VPS-Ricky VPS-Ricky changed the title Mail react breakpoint content switch mail-react: Document switching content by breakpoint Aug 20, 2026
A `<style>` rule alone cannot hide a layout: some clients remove
embedded styles, and classic Outlook applies neither `display: none`
nor `mso-hide: all` to a nested table.
A project that consumes the package hid one layout with a `<style>`
rule alone and shipped an email that showed both.
@VPS-Ricky
VPS-Ricky force-pushed the mail-react-breakpoint-content-switch branch from 1aae4d9 to a3630d2 Compare August 20, 2026 12:10
@VPS-Ricky
VPS-Ricky marked this pull request as ready for review August 20, 2026 12:16
@github-actions
github-actions Bot requested a review from VPS-Obi August 20, 2026 12:16
@VPS-Ricky
VPS-Ricky requested review from VPS-thodax and martinrohrmoser and removed request for VPS-Obi August 20, 2026 12:16
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