Home > Software engineering >  HTML email rendering incorrectly on iPhone 11
HTML email rendering incorrectly on iPhone 11

Time:10-12

The company I work for has been using the below email template for a while but the template seems to be displaying incorrectly in iPhone 11 and the 12 Pro Max, but displays correctly for everything else. The background colour doesn't fill the screen.

I'm not a HTML whizz and can't seem to find the problem - any Stack Overflow bosses able to help?

`https://pastebin.com/7aARQNMS`

Example of how it displays here: incorrect rendering

CodePudding user response:

This line is causing the problem, it should be able to be safely removed (it's also in an iPhone media query too, and in multiple renditions):

.email-container {
    min-width: 414px !important;
}

Hard to say what that was trying to do, it's quite complex.

  • Related