From 595d38e8afe47e54a2bcefa1a567a7e79bb330ff Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Tue, 5 Jul 2016 13:18:05 -0400 Subject: [PATCH] Change class to mjx-box so that width will have the proper effect (due to fix in CSS in PR #1448). Resolves issue #1543. --- unpacked/jax/output/CommonHTML/jax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js index 0b48f9ae2..f98cc4b2c 100644 --- a/unpacked/jax/output/CommonHTML/jax.js +++ b/unpacked/jax/output/CommonHTML/jax.js @@ -1882,7 +1882,7 @@ // something, so put them over a space and remove the space's width // node = node.firstChild; - var space = CHTML.Element("mjx-span",{style:{width:".25em","margin-left":"-.25em"}}); + var space = CHTML.Element("mjx-box",{style:{width:".25em","margin-left":"-.25em"}}); node.insertBefore(space,node.firstChild); }, CHTMLcenterOp: function (node) {