Physikerwelt has uploaded a new change for review.
https://gerrit.wikimedia.org/r/250716
Change subject: Use normal line-height for math elements
......................................................................
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: I716cd8bddaeb2586adabb942881d70597f86db2c
---
M modules/ext.math.css
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math
refs/changes/16/250716/1
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 @@
/* 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. */
--
To view, visit https://gerrit.wikimedia.org/r/250716
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I716cd8bddaeb2586adabb942881d70597f86db2c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits