Monospace text too small
Closed, ResolvedPublic

Description

This is actually a widely known problem. Monospace text is too small in Firefox and Chrome. The problem is visible under the 'Help' button, 'What you type' column.

To trigger the proper textsize, a second, valid font is needed. So instead of { font-family: monospace; }, it should be { font-family: monospace, "Courier New"; }.

Note that this is not ment to prefer Courier New, but merely to provide a second, valid (and safe) parameter to trigger these browsers into displaying the correct fontsize. This means that any user's preferred monospace font will still be used.

There are two instances in jquery.wikiEditor.toolbar.css that would need to be modified: line 244 and line 270. In the latter case, line 271 (font-size) would no longer be needed and can be removed to ensure consistent behaviour between browsers.


Version: unspecified
Severity: normal

bzimport added a project: WikiEditor.Via ConduitNov 21 2014, 11:24 PM
bzimport set Reference to bz27502.
Edokter created this task.Via LegacyFeb 17 2011, 7:03 PM
Catrope added a comment.Via ConduitFeb 19 2011, 3:02 PM

Added Courier New in r82458. Didn't change the font-size; Trevor, can you look into that?

TrevorParscal added a comment.Via ConduitFeb 22 2011, 6:27 PM

Yes, reviewed and OK'd - this was the right solution.

Add Comment