Large MathJax equation goes out of margin in mobile mode

Hi guys, I noticed that the MathJax formulas going out of the limits of the posts:

image

It happens only for the mobile mode. Is it possible to hear some suggestions on how to fix it? I guess we need to somehow reduce the size of it so it could break somehow.

4 Likes

Still having this problem :frowning: . Someone can maybe help?
Thank you.

1 Like

Having the same issue. Have you solved it maybe?

No, I still having the problem. Looks like no one cares though :confused:

We do care, a lot.

Please be patient. We’ll get this fixed.

5 Likes

If you would like us to care more and care harder & faster about your specific problem, feel free to pay us by signing up for a hosting plan at https://discourse.org/buy

3 Likes

Any updates on this issue? We’re using MathJax and running into the same problem on mobile devices.

This was fixed a while back.

https://github.com/discourse/discourse-math/pull/16

Is your site up to date? Is the plugin up to date on your site? Can share an example the problem you’re running into?

1 Like

Yes, the site and plugin are up to date. Here is an example of the issue:

Could you maybe share a screenshot, as what I see is:

PM

Edit: several refreshes later:

Which looks right, no?

If you’re referring to that last equation, it’s wider than most mobile viewports and so it can be scrolled horizontally like so

Are you experiencing something different?

1 Like

I am not seeing the scrolling option on a mobile device. When I use a mobile view in my desktop browser I do see the scroll. Here is a screenshot from my phone.

1 Like

This should fix it

https://github.com/discourse/discourse-math/commit/5233654fd22252d4bb94d186c9a31f85dc8960a5

Thanks for reporting the issue @csandstedt :+1:

7 Likes

Thank you @Johani for your help on this!

2 Likes

This topic was automatically closed after 34 hours. New replies are no longer allowed.