diff --git a/layouts/partials/script/single-script.html b/layouts/partials/script/single-script.html index b3ab901..0a87c80 100644 --- a/layouts/partials/script/single-script.html +++ b/layouts/partials/script/single-script.html @@ -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);