Use normal line-height for math elements
* With the current settings for example the distance between matrix rows is too large. Bug: T106890 Change-Id: Iffa2534f7d39e9faf41ab11124c9b9ff571988d2
This commit is contained in:
parent
7700840b35
commit
2548c12e49
|
@ -23,6 +23,9 @@ m|math {
|
|||
/* 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;
|
||||
}
|
||||
|
||||
/* Default style for the image fallback. */
|
||||
|
|
Loading…
Reference in New Issue