MathJax Long Equation Scaling

Long equations in MathJax do not scale down to screen width like LaTeX does. I’m looking for a work around to copy the behavior of LaTeX without switching back to LaTeX. Would it be possible to include some HTML in the card to put the equation in a box that would make it scale? I haven’t been able to find anything that works so far.