How to make MathJax Responsive?

MathJax is incredible for people who have to place some advanced math formulas on their websites. These days, however, we should ensure that our website is always responsive, which could be a problem with some long MathJax formulas.

Thankfully, the solution is very simple.

We can do this with our CSS.

All we have to do is to change our MathJax container white-spaces to normal.

mjx-container mjx-math {
  white-space: normal;