Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nightly email looks crappy on iPhone #146

Closed
scripting opened this issue Jan 24, 2020 · 8 comments
Closed

Nightly email looks crappy on iPhone #146

scripting opened this issue Jan 24, 2020 · 8 comments

Comments

@scripting
Copy link
Owner

@scripting scripting commented Jan 24, 2020

I got a couple of reports from people who use the Mail app on iPhones to read the nightly email, and am able to reproduce the problem here. The contents of the mail only fills a portion of the window horizontally. Not a good look. Apparently previously it filled the space. I've started a thread to gather info about this. I don't know how to debug this, but I will try.

image

@scripting

This comment has been minimized.

Copy link
Owner Author

@scripting scripting commented Jan 24, 2020

Any ideas on how to experiment with HTML in the iPhone email client? Obviously it's not liking something about the CSS? Not sure where to begin.

@cshotton

This comment has been minimized.

Copy link

@cshotton cshotton commented Jan 24, 2020

I went back and tried to recreate this and to also see whether the problem was present in earlier messages. Unfortunately, when viewing the message a second time, the formatting was correct and flowed to the full screen width. It also was fine for earlier messages.

I thought it could be related to "Dark Mode", so I switched back to that UI setting, and then restarted Mail. However, the formatting remained the same and looked OK.

This seems to be a problem with opening the message for the first time. Perhaps you could confirm by resending new messages with the content and see if first opens are borked and subsequent ones are OK. If that's the case, this is either a timing issue with styles not being loaded (are they in-line or in a remote stylesheet) in time for the first rendering, or a bug in the HTML renderer in Mail.

@scripting

This comment has been minimized.

Copy link
Owner Author

@scripting scripting commented Jan 24, 2020

Okay I did what you did and got different, confusing, results.

  1. I re-opened the message with the bad formatting, and the second time it had the bad formatting as before.

  2. I opened the email from the 22nd, expecting it to look shitty, but it looked fine, which seems to indicate that something about the formatting changed between the two emails.

  3. But I swear I changed nothing having to do with the emails.

Here's my suggestion. Let's re-visit this tomorrow and see if it happens again. I'm guessing the problem has to do with the content of yesterday's posts, not with any of the automated formatting.

I included an iframe with a C-SPAN video yesterday. It caused (different) problems in GMail. It was a risky move that I won't try again.

@scripting

This comment has been minimized.

Copy link
Owner Author

@scripting scripting commented Jan 24, 2020

My current theory is that the problem was caused by an <iframe> in yesterday's email. Let's see what tonight's email looks like.

@scripting

This comment has been minimized.

Copy link
Owner Author

@scripting scripting commented Jan 25, 2020

I believe the <iframe> theory was correct because last night's email looks perfect in the mail app on my iPhone. Closing this for now.

@scripting scripting closed this Jan 25, 2020
@scripting

This comment has been minimized.

Copy link
Owner Author

@scripting scripting commented Jan 25, 2020

IMG_5CC2D2C6BC76-1

@scripting

This comment has been minimized.

Copy link
Owner Author

@scripting scripting commented Jan 25, 2020

IMG_7F92308AD690-1

@scripting

This comment has been minimized.

Copy link
Owner Author

@scripting scripting commented Jan 25, 2020

IMG_7F92308AD690-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.