In the default styles generated by MJML, we have the following block:
<!--[if !mso]><!-->
<style type="text/css">
@media only screen and (max-width:480px) {
@-ms-viewport {
width: 320px;
}
@viewport {
width: 320px;
}
}
</style>
<!--<![endif]-->
This was useful to trigger a mobile viewport width on the default email client in Windows Phone 8. This was never used in any other email client as far as I know. Considering Windows Phone 8 is dead, it probably should be a good idea to remove this. Or maybe if some people are still finding this useful, have this only generated when using a special "_legacy_" option to generate HTML?
Here's an article (in french) about Windows Phone 8 and @viewport declaration.
This would resolve #844 as well
@hteumeuleu is right, I also remove this part from output file. It would be great to have at least CLI option something like --no-windows-phone-support which will remove this part.
Most helpful comment
This would resolve #844 as well