Skip to content

Commit fa475de

Browse files
authored
Merge pull request #1788 from dpvc/issue1718
Don't force width of large collections of text. #1718.
2 parents 70c0d92 + 3d84e67 commit fa475de

File tree

1 file changed

+1
-1
lines changed
  • unpacked/jax/output/CommonHTML

1 file changed

+1
-1
lines changed

unpacked/jax/output/CommonHTML/jax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@
987987
if (bbox.a == null || state.a > bbox.a) bbox.a = state.a;
988988
}
989989
node = this.flushText(node,state,item.style);
990-
node.style.width = CHTML.Em(C[2]);
990+
if (C[2] < 3) node.style.width = CHTML.Em(C[2]); // only force width if not too large (#1718)
991991
},
992992
//
993993
// Put the pending text into a box of the class, and

0 commit comments

Comments
 (0)