Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
1.1.16 goes mobile on Yandex.ru #1
Seems like Yandex is removing the whole style attribute when it find something "unexpected".
From some tests the issue is within the "calc(NUMBERpx - NUMBER%" we use to enable responsivity when media queries are not available. Whenever Yandex parser find a "-" a "_" a "+" an "*", an "&" in brackets it will remove the full style object. If it finds a "- " sequence or a "-NUMBER" or a "NUMBER-" in a property value (even not in brackets) it will also remove the full style object.
Otherwise Yandex removes only the unknown styles.
That calc is our current main responsive solution for multicolumns:
I currently don't see how we could workaround Yandex, unless we find some way to target Yandex. We could try replacing the div with a span, but we have to check all of the other clients to see if this would work for them.
One option to be evaluated could be adding
This would also be needed in order to let browsers without any support for "style" to render the email decently.