Skip to content

Commit b2459cf

Browse files
authored
Merge pull request #1963 from dpvc/issue1950
Add 'px' to max-width. #1950
2 parents 55abe89 + a78e8e7 commit b2459cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unpacked/jax/output/SVG/jax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2172,7 +2172,7 @@
21722172
// so if they are close to full width, make sure they aren't too big.
21732173
//
21742174
if (Math.abs(w-SVG.cwidth) < 10)
2175-
style.maxWidth = SVG.Fixed(SVG.cwidth*SVG.em/1000);
2175+
style.maxWidth = SVG.Fixed(SVG.cwidth*SVG.em/1000) + "px";
21762176
//
21772177
// Add it to the MathJax span
21782178
//

0 commit comments

Comments
 (0)