You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mail bodies containing preformatted text (<pre>) tend to get over-scaled and become unreadable on mobile due to the preformatted text not being broken up as it should. This is caused by the styling not being applied due to an incorrect selector. fixing this would already improves scaling and readability on mobile for mail bodies that contain <pre>.
Mail bodies can also get over-scaled and become unreadable when they contain a long unbreakable line of text, like a long plain text url for example. A solution to this could be to wrap these unbreakable long lines of text using something like overflow-wrap: anywhere when scaling exceeds a certain threshold.
Test notes
Preformatted text wraps on mobile but not on desktop or web.
On mobile:
Super long unbroken text (like a long plain text url) is wrapped and the mail is readable without the need to zoom.
Zoomed out mails are still readable.
Formatting of HTML emails (like newsletters, etc...) is preserved, or at the very least close.
Time spent: 2.5h
The text was updated successfully, but these errors were encountered:
When scaling exceeds a threshold of 0.65, unbreakable long text is
wrapped by setting the mail body's "overflowWrap" to "anywhere".
Scaling might also be applied on top, if necessary.
0.65 was chosen as a threshold since a 0.65 scaling applied to a 16px
font size would result in a 10.4px font size.
Close#8460
When scaling exceeds a threshold of 0.65, unbreakable long text is
wrapped by setting the mail body's "overflowWrap" to "anywhere".
Scaling might also be applied on top, if necessary.
0.65 was chosen as a threshold since a 0.65 scaling applied to a 16px
font size would result in a 10.4px font size.
Close#8460
<pre>
) tend to get over-scaled and become unreadable on mobile due to the preformatted text not being broken up as it should. This is caused by the styling not being applied due to an incorrect selector. fixing this would already improves scaling and readability on mobile for mail bodies that contain<pre>
.Test notes
Time spent: 2.5h
The text was updated successfully, but these errors were encountered: