Skip to content

Commit

Permalink
Adjust for .5ex offset in CSS vertical-align:middle. Resolves issue m…
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvc committed Sep 22, 2019
1 parent 5573bb0 commit 4c4ebb6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ts/output/chtml/Wrappers/mtable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ CommonMtableMixin<CHTMLmtd<any, any, any>, CHTMLmtr<any, any, any>, CHTMLConstru
},
'mjx-table': {
'display': 'inline-block',
'vertical-align': '-.5ex'
},
'mjx-table > mjx-itable': {
'vertical-align': 'middle',
Expand Down Expand Up @@ -96,12 +97,6 @@ CommonMtableMixin<CHTMLmtd<any, any, any>, CHTMLmtr<any, any, any>, CHTMLConstru
},
'mjx-mtable[align="bottom"] > mjx-table': {
'vertical-align': 'bottom'
},
'mjx-mtable[align="center"] > mjx-table': {
'vertical-align': 'middle'
},
'mjx-mtable[align="baseline"] > mjx-table': {
'vertical-align': 'middle'
}
};

Expand Down

0 comments on commit 4c4ebb6

Please sign in to comment.