diff --git a/modules/ext.math.css b/modules/ext.math.css index 6f325db..14f30ec 100644 --- a/modules/ext.math.css +++ b/modules/ext.math.css @@ -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. */