Skip to content

Commit 1482077

Browse files
committed
Set MathJax legend indentation to match non-MathJax indentation
1 parent f23eb74 commit 1482077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/legend/draw.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ function computeTextDimensions(g, gd) {
520520
height = mathjaxBB.height;
521521
width = mathjaxBB.width;
522522

523-
Drawing.setTranslate(mathjaxGroup, 0, (height / 4));
523+
Drawing.setTranslate(mathjaxGroup, 40, (height / 4));
524524
}
525525
else {
526526
var text = g.select('.legendtext');

0 commit comments

Comments
 (0)