Skip to content

Commit

Permalink
Merge pull request #349 from mathjax/issue2204
Browse files Browse the repository at this point in the history
Add CSS to force LTR direction for SVG output.  Resolves issue #2204
  • Loading branch information
dpvc committed Sep 27, 2019
2 parents ef5c599 + 9b3a67a commit 4ce214f
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 4ce214f

Please sign in to comment.