New non-monospace comments styled with way too small a font size
Categories
(bugzilla.mozilla.org :: General, enhancement)
Tracking
()
People
(Reporter: bzbarsky, Assigned: dylan)
References
Details
Attachments
(2 files, 3 obsolete files)
The stylesheet has:
font-size: 13px;
font-family: "Fira Sans", "Open Sans", "Helvetica Neue", Arial, Helvetica, sans-serif;
While a monospace font at 13px is sort of OK to read (and in fact that's the default in browsers in many cases), a 13px proportional font is way too small in many cases. Certainly I can barely read the newly-proportional bug comments.
Is there a reason we're using anything other than the user's chosen default font size here? We really shouldn't be, for bodies of text the user is expected to read.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
How about font-size: medium; font-family: system?
Assignee | ||
Comment 2•5 years ago
|
||
Yes, and I think that font-family
should be
font-family: -apple-system, BlinkMacSystemFont,
"Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
Assignee | ||
Comment 4•5 years ago
|
||
This is the font and font-size of github comments, which is 14px.
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
Reporter | ||
Comment 7•5 years ago
|
||
Github also has line-height styling that makes things a bit more readable at small font sizes by increasing the spacing between lines, fwiw.
Assignee | ||
Comment 8•5 years ago
|
||
This is what we're going with the patch.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 9•5 years ago
|
||
I'm guessing this is not deployed yet?
In any case, while the font in Option C is larger, it is still hard to read, due to huge line length of ~160 characters, which is twice the recommended size.
https://en.wikipedia.org/wiki/Line_length
Github's line length is 35% shorter at around 100 characters per line, copying only some aspects of typography might not be the best way to design for readability.
Assignee | ||
Comment 10•5 years ago
|
||
So we'll copy that too. Note that good percentage of users appear to use bugzilla in a narrow context and text does wrap shorter in those smaller viewports (as reported by google analytics)
Updated•5 years ago
|
Description
•