Skip to content

Commit

Permalink
Add CSS to force LTR direction for SVG output. Resolves issue #2204
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvc committed Sep 22, 2019
1 parent 5573bb0 commit 9b3a67a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ts/output/svg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,11 @@ CommonOutputJax<N, T, D, SVGWrapper<N, T, D>, SVGWrapperFactory<N, T, D>, SVGFon
* The default styles for SVG
*/
public static commonStyles: CssStyleList = {
'mjx-container[jax="SVG"]': {
direction: 'ltr'
},
'mjx-container[jax="SVG"] > svg': {
'overflow': 'visible'
overflow: 'visible'
},
'mjx-container[jax="SVG"] > svg a': {
fill: 'blue', stroke: 'blue'
Expand Down

0 comments on commit 9b3a67a

Please sign in to comment.