mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 07:34:22 +00:00
Merge "Remove some obsolete CSS rules that are no longer needed in Firefox ESR 45: - Use the non-math font Cambria first (fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=598900). - Set line-height to normal (fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=1187673)."
This commit is contained in:
commit
289e0d3031
|
@ -20,12 +20,7 @@
|
|||
}
|
||||
m|math {
|
||||
/* Try some popular OpenType MATH fonts before the WOFF fallback */
|
||||
/* We put Cambria before Cambria Math to workaround a bug on Windows
|
||||
(see https://bugzilla.mozilla.org/show_bug.cgi?id=598900) */
|
||||
font-family: Cambria, Cambria Math, Latin Modern Math, STIX Math, LatinModernMathWOFF, serif;
|
||||
/* .mw-body-content sets the line-height to 1.6 which is not desired for math. For example */
|
||||
/* matrices with brackets are rendered too large. See also https://phabricator.wikimedia.org/T106890 */
|
||||
line-height: normal;
|
||||
font-family: Cambria Math, Latin Modern Math, STIX Math, LatinModernMathWOFF, serif;
|
||||
}
|
||||
|
||||
/* Default style for the image fallback. */
|
||||
|
|
Loading…
Reference in a new issue