jsxgraph: add margin to center the graph
This commit is contained in:
parent
5d1132373b
commit
f90732a03b
|
@ -625,6 +625,7 @@
|
|||
x.parentNode.style.backgroundColor = "transparent"
|
||||
var node0 = document.createElement('div');
|
||||
node0.id = 'jsxgraph' + index;
|
||||
node0.style.margin = 'auto';
|
||||
node0.classList += 'jxgbox';
|
||||
|
||||
x.parentNode.insertBefore(node0, x);
|
||||
|
|
Loading…
Reference in New Issue