Skip to content

mj-hero: background image isn't displaying correctly in Windows Mail #2814

@MarionLivet

Description

@MarionLivet

Describe the bug
The background image for mj-hero in fluid-height mode isn't displaying correctly in Windows Mail. The image appears too small and fails to cover the entire hero section.

To Reproduce
Steps to reproduce the behavior:

  1. Open this link from the documentation: https://mjml.io/try-it-live/components/hero/1
  2. Render it to HTML by clicking on "View HTML"
  3. Send the HTML to an email address with Putsmail
  4. See issue in Windows Mail (see screenshot below)

Expected behavior
The background image should render correctly, covering the whole hero section, like in the preview tab of the "try it live" page and in Gmail

MJML environment (please complete the following information):

Email sending environment(for rendering issues):

  • Platform used to send the email: Putsmail

Affected email clients (for rendering issues):

  • Email Client: Mail Version 16005.14326.21778.0
  • OS: Windows
  • Browser: /

Screenshots

What I see in Windows Mail:
B92A0EC3B2EE494C9029DCBE6FB66CB6

What I have in Gmail:
image

And in the preview tab:
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions