Skip to content

Commit 08cb716

Browse files
committed
Fix scaling of indentshift in HTML-CSS; since is outside the font-size change, it doesn't need HTMLCSS.scale.
1 parent cb5df6e commit 08cb716

File tree

1 file changed

+1
-1
lines changed
  • unpacked/jax/output/HTML-CSS

1 file changed

+1
-1
lines changed

unpacked/jax/output/HTML-CSS/jax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2890,7 +2890,7 @@
28902890
node.style.textAlign = values.indentalign;
28912891
// ### FIXME: make percentage widths respond to changes in container
28922892
if (shift) {
2893-
shift *= HTMLCSS.scale * HTMLCSS.em/HTMLCSS.outerEm;
2893+
shift *= HTMLCSS.em/HTMLCSS.outerEm;
28942894
HUB.Insert(span.style,({
28952895
left: {marginLeft: HTMLCSS.Em(shift)},
28962896
right: {marginLeft: HTMLCSS.Em(Math.max(0,span.bbox.w+shift)), marginRight: HTMLCSS.Em(-shift)},

0 commit comments

Comments
 (0)