Skip to content

Commit a78e8e7

Browse files
committed
Add 'px' to max-width. Resolves issue #1950.
1 parent 1e28a76 commit a78e8e7

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)