Set min-width properly on tables with labels so that they don't overlap (596).

This commit is contained in:
Davide P. Cervone 2015-08-26 19:21:47 -04:00
parent 52ba4e6fa9
commit 944000c76f

View File

@ -504,7 +504,7 @@ MathJax.Hub.Register.StartupHook("CommonHTML Jax Ready",function () {
// Propagate full-width equations, and reserve room for equation plus label
//
node.style.width = this.CHTML.pwidth = "100%";
this.CHTML.mwidth = CHTML.Em(tw);
node.style.minWidth = this.CHTML.mwidth = CHTML.Em(tw);
}
});