TheDJ has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/61924


Change subject: MathJax: Improve font style inheritence
......................................................................

MathJax: Improve font style inheritence

This makes HTML rendered mtext inherit it's font properties.

Change-Id: I744750ff3d667006e725c04b88d83a3b259d4de5
---
M modules/ext.math.mathjax.enabler.js
1 file changed, 2 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math 
refs/changes/24/61924/1

diff --git a/modules/ext.math.mathjax.enabler.js 
b/modules/ext.math.mathjax.enabler.js
index fe6de6c..3893a2d 100644
--- a/modules/ext.math.mathjax.enabler.js
+++ b/modules/ext.math.mathjax.enabler.js
@@ -15,19 +15,14 @@
     root: mw.config.get('wgExtensionAssetsPath') + '/Math/modules/MathJax',
     config: ['TeX-AMS-texvc_HTML.js'],
     'v1.0-compatible': false,
-    styles: {
-      '.mtext': {
-        'font-family': 'sans-serif ! important',
-        'font-size': '80%'
-      }
-    },
     displayAlign: 'left',
     menuSettings: {
       zoom: 'Click'
     },
     'HTML-CSS': {
       imageFont: null,
-      availableFonts: ['TeX']
+      availableFonts: ['TeX'],
+      mtextFontInherit: true
     }
   }, mathJax.config );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/61924
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I744750ff3d667006e725c04b88d83a3b259d4de5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: TheDJ <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to