Skip to content

Full-width sections are not full width on Outlook for Windows (Win 11) #2985

@kennethormandy

Description

@kennethormandy

When using <mj-section full-width="full-width" />, the section is not full width or centred on Outlook for Windows (Win 11).

Screenshot, using an example template with the first section changed to full-width:

Image

To Reproduce
Steps to reproduce the behaviour:

  1. Use this example template—it’s the same as the original one, except the very first section is changed to full-width: https://mjml.io/try-it-live/JGDEKvtlEq
  2. Render it to HTML by doing mjml ./example.mjml --output ./ --config.beautify true
  3. Send the HTML to Litmus, with previews for Outlook for Windows (Win 11) in light and dark mode
  4. See the header is not full width or centred

Expected behavior
In all other environments, the header looks like this:

Image

MJML environment (please complete the following information):

  • OS: Windows
  • MJML Version 4.16.1
  • MJML tool used: npm package

Email sending environment(for rendering issues):

  • Outlook via Litmus

Affected email clients (for rendering issues):

  • Email Client [e.g Gmail]
  • OS: [e.g. Windows]
  • Browser [e.g. Google Chrome]

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions