mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-12-11 22:06:00 +00:00
d70bd9d1ae
Problem: browsers implicitly and unexpectedly set the font-size to something around 13px with `font-family: monospace;`, but not with `font-family: monospace,monospace;`. See: http://code.iamkate.com/html-and-css/fixing-browsers-broken-monospace-font-handling/ Bug: T176636 Change-Id: Ied24a0cde7db4a6092d2cd7a6207d0a361424c3f Related: T245568 Related: T245476
7 lines
272 B
Plaintext
7 lines
272 B
Plaintext
.CodeMirror {
|
|
// Fix `font-family: monospace;` caused weird font sizing of browsers.
|
|
// Task: https://phabricator.wikimedia.org/T176636
|
|
// See: http://code.iamkate.com/html-and-css/fixing-browsers-broken-monospace-font-handling/
|
|
font-family: monospace, monospace;
|
|
}
|