0

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

  • Please trim your code to make it easier to find your problem. Follow these guidelines to create a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example). – Community Sep 21 '22 at 09:48
  • You have only attached the code up to the image - but not the text where the problem is. Please add that in – Nathan Sep 23 '22 at 00:04
  • @Nathan pastebin link added now – Steve Curtis Sep 26 '22 at 07:42

1 Answers1

0

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.

Nathan
  • 4,358
  • 2
  • 10
  • 26