diff --git a/MathMathML.php b/MathMathML.php index 32e56cc..b440cf2 100644 --- a/MathMathML.php +++ b/MathMathML.php @@ -379,7 +379,8 @@ class MathMathML extends MathRenderer { $class = $classOverride; } - $style = 'background-image: url(\''. $url. '\'); background-repeat: no-repeat; background-size: contain;'; + // TODO: move the common styles to the global stylesheet! + $style = 'background-image: url(\''. $url. '\'); background-repeat: no-repeat; background-size: 100% 100%;'; $this->correctSvgStyle( $this->getSvg(), $style ); if ( $class ) { $attribs['class'] = $class; } if ( $style ) { $attribs['style'] = $style; }