diff --git a/mathics_django/web/media/js/mathics.js b/mathics_django/web/media/js/mathics.js index d9af1b659..3fcadf403 100644 --- a/mathics_django/web/media/js/mathics.js +++ b/mathics_django/web/media/js/mathics.js @@ -298,6 +298,7 @@ function convertMathGlyphs(dom) { img.setAttribute('src', src) img.setAttribute('width', glyph.getAttribute('width')); img.setAttribute('height', glyph.getAttribute('height')); + img.setAttribute('style', 'position:absolute; top:50%;'); glyph.parentNode.replaceChild(img, glyph); } }