Closed
Bug 1306695
Opened 8 years ago
Closed 8 years ago
Comment text too small in Gmail
Categories
(bugzilla.mozilla.org :: General, defect, P1)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jryans, Assigned: dylan)
References
Details
Attachments
(2 files)
79.25 KB,
image/png
|
Details | |
592 bytes,
patch
|
dkl
:
review+
|
Details | Diff | Splinter Review |
It appears Gmail's display of comments in bugmail has changed, making the text appear too small. Talking with :dylan on IRC, the BMO email template hasn't changed in years, so it's likely related to a change in Gmail.
Additionally, some changes were recently announced[1] to Gmail CSS processing to better support media queries, perhaps this is related.
[1]: https://gsuite-developers.googleblog.com/2016/09/your-emails-optimized-for-every-screen-with-responsive-design.html
Comment 1•8 years ago
|
||
I too noticed this. The text is uncomfortably small.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → dylan
Assignee | ||
Comment 3•8 years ago
|
||
I am having trouble reproducing it. Are you seeing this in your email inbox?
Flags: needinfo?(dylan)
Comment 4•8 years ago
|
||
Yep, the text is considerably small and difficult to read on gmail, as you can see the comparison. But Apple's Mail Client doesn't have a problem. So I guess, it is from the gmail side? Is it possible from our side, to do anything about this?
Assignee | ||
Comment 5•8 years ago
|
||
cool, you can maybe fix this. I imagine google is slowly rolling out support for CSS or something.
I would recommend taking the body text of one of the emails, and tweaking the CSS in it, and sending it to yourself
until it looks okay. Then you can edit the email template in https://github.com/mozilla-bteam/bmo/blob/master/extensions/BMO/template/en/default/email/bugmail.html.tmpl
Assignee: dylan → sebastinssanty
Comment 6•8 years ago
|
||
(In reply to Sebastin Santy [:seban] from comment #4)
> Created attachment 8800422 [details]
> bugmail.png
>
> Yep, the text is considerably small and difficult to read on gmail, as you
> can see the comparison. But Apple's Mail Client doesn't have a problem. So I
> guess, it is from the gmail side? Is it possible from our side, to do
> anything about this?
Hmm, the text looks ok to me. It is slightly smaller than the bolder text but now so much where it is unreadable. How much larger are we trying to make it?
dkl
Comment 7•8 years ago
|
||
120%.
The pre element already has style="font-size:120%" on it, but there's a rule that overrides it:
div.m157bac68a3b98f0a .m_-7520413524076946868comment {
font-size: 100% !important;
}
My guess is that this overriding rule wasn't respected (or wasn't present) before the recent change.
Comment 9•8 years ago
|
||
See also the screenshot in bug 1310856.
Comment 10•8 years ago
|
||
Yeah, that screenshot offers a better perspective.
Assignee | ||
Comment 11•8 years ago
|
||
I found the fix for this. Thanks for the debugging in comment 7!
Assignee: sebastinssanty → dylan
Priority: -- → P1
Assignee | ||
Comment 12•8 years ago
|
||
our .comments rule is now translated into a css rule (reported in comment 7 by :mstange), so we should just change that.
I tested the emails produced this way in gmail and fastmail, both look fine.
Attachment #8802304 -
Flags: review?(dkl)
Comment 13•8 years ago
|
||
Comment on attachment 8802304 [details] [diff] [review]
1306695_1.patch
Review of attachment 8802304 [details] [diff] [review]:
-----------------------------------------------------------------
r=dkl
Attachment #8802304 -
Flags: review?(dkl) → review+
Assignee | ||
Comment 14•8 years ago
|
||
To git@github.com:mozilla-bteam/bmo.git
6e204f4..96fc28e master -> master
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment 15•8 years ago
|
||
I can confirm that the font size has gone back to the old, larger size. Thank you.
Status: RESOLVED → VERIFIED
Comment 16•8 years ago
|
||
This change makes comment text in HTML notifications too large in Mail on OS X. Please revert it and fix properly for Gmail.
Assignee | ||
Comment 17•8 years ago
|
||
Fixing this for both apple mail and gmail will be challenging because of media queries.
Comment 18•8 years ago
|
||
Thank you for fixing for Gmail! :-)
You need to log in
before you can comment on or make changes to this bug.
Description
•