Scroll down to fundamental forces heading on:
https://en.m.wikipedia.org/wiki/Standard_Model?oldid=707260009
The app has some logic which imposes a max-width of 100% to all outputted formulae from the Math extension.
Right now it has to analyse the class name to do this since there is no generic class name.
I recommend we
- add a generic class mwe-math-element to all math formulae. This will allow the app to style this via a single css rule
- Add a max-width to the element in the Math extension so mobile web can benefit.
Test Plan
- Visit https://en.m.wikipedia.beta.wmflabs.org/wiki/Math2 on a mobile phone and make sure that the page is not horizontally scrollable, i.e. all math images fit in the page width. Don't forget to expand the sections if they're already collapsed.