File tree Expand file tree Collapse file tree 1 file changed +18
-5
lines changed
mathjax3-ts/output/chtml/Wrappers Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,27 @@ export class CHTMLmath extends CHTMLWrapper {
3737
3838 public static styles : StyleList = {
3939 'mjx-math' : {
40- display : 'inline-block' ,
41- 'line-height' : '0px' ,
42- 'text-align' : 'left'
40+ 'line-height' : 0 ,
41+ 'text-align' : 'left' ,
42+ 'text-indent' : 0 ,
43+ 'font-style' : 'normal' ,
44+ 'font-weight' : 'normal' ,
45+ 'font-size' : '100%' ,
46+ 'font-size-adjust' : 'none' ,
47+ 'letter-spacing' : 'normal' ,
48+ 'word-wrap' : 'normal' ,
49+ 'word-spacing' : 'normal' ,
50+ 'white-space' : 'nowrap' ,
51+ 'direction' : 'ltr' ,
52+ 'padding' : '1px 0'
4353 } ,
4454 'mjx-chtml.MJX-DISPLAY' : {
4555 display : 'block' ,
46- margin : '1em 0' ,
47- 'text-align' : 'center'
56+ 'text-align' : 'center' ,
57+ margin : '1em 0'
58+ } ,
59+ 'mjx-chtml.MJX-DISPLAY mjx-math' : {
60+ padding : 0
4861 }
4962 } ;
5063
You can’t perform that action at this time.
0 commit comments