# Large MathJax equation goes out of margin in mobile mode

**URL:** https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756
**Category:** UX
**Created:** [24 augustus 2019 om 23:04 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756 "2019-08-24T23:04:45Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![verilog15](https://avatars.discourse-cdn.com/v4/letter/v/9f8e36/32.png) [@verilog15](https://meta.discourse.org/u/verilog15)
#### Post date: [24 augustus 2019 om 23:04 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756/1 "2019-08-24T23:04:45Z")

</div>

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

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/3/d3100d6c5111054cb7ee8c970fd25057cf622dc9.png)

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.

---

<div class="post-metadata">

### Author: ![verilog15](https://avatars.discourse-cdn.com/v4/letter/v/9f8e36/32.png) [@verilog15](https://meta.discourse.org/u/verilog15)
#### Post date: [6 september 2019 om 11:15 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756/3 "2019-09-06T11:15:43Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Zususu](https://avatars.discourse-cdn.com/v4/letter/z/e99b99/32.png) [@Zususu](https://meta.discourse.org/u/Zususu)
#### Post date: [7 september 2019 om 13:47 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756/4 "2019-09-07T13:47:08Z")

</div>

Having the same issue. Have you solved it maybe?

---

<div class="post-metadata">

### Author: ![verilog15](https://avatars.discourse-cdn.com/v4/letter/v/9f8e36/32.png) [@verilog15](https://meta.discourse.org/u/verilog15)
#### Post date: [7 september 2019 om 23:57 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756/5 "2019-09-07T23:57:09Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [8 september 2019 om 00:03 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756/6 "2019-09-08T00:03:54Z")

</div>

We do care, a lot.

Please be patient. We’ll get this fixed.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [8 september 2019 om 04:46 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756/9 "2019-09-08T04:46:41Z")

</div>

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](https://discourse.org/buy)

---

<div class="post-metadata">

### Author: ![csandstedt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/csandstedt/32/170079_2.png) [@csandstedt](https://meta.discourse.org/u/csandstedt)
#### Post date: [5 maart 2020 om 20:46 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756/10 "2020-03-05T20:46:38Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [5 maart 2020 om 20:53 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756/11 "2020-03-05T20:53:17Z")

</div>

This was fixed a while back.

[https://github.com/discourse/discourse-math/pull/16](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?

---

<div class="post-metadata">

### Author: ![csandstedt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/csandstedt/32/170079_2.png) [@csandstedt](https://meta.discourse.org/u/csandstedt)
#### Post date: [5 maart 2020 om 22:05 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756/12 "2020-03-05T22:05:13Z")

</div>

Yes, the site and plugin are up to date. Here is an example of the issue:  
[https://www.analystforum.com/t/implied-forward-rate-in-exhibit-19-of-cfai-curriculum-reading-20/130460/7](https://www.analystforum.com/t/implied-forward-rate-in-exhibit-19-of-cfai-curriculum-reading-20/130460/7)

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [5 maart 2020 om 22:09 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756/13 "2020-03-05T22:09:35Z")

</div>

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

 ![PM](https://global.discourse-cdn.com/meta/original/3X/5/1/51637b6dbb9b84947551da8922cb46fa2831f2ba.png)

Edit: several refreshes later:

 ![PM](https://global.discourse-cdn.com/meta/original/3X/f/f/ff52a84ce599722eafc61eeddf40504fb3907a94.png)

Which looks right, no?

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [5 maart 2020 om 22:20 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756/14 "2020-03-05T22:20:45Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![csandstedt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/csandstedt/32/170079_2.png) [@csandstedt](https://meta.discourse.org/u/csandstedt)
#### Post date: [5 maart 2020 om 22:40 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756/16 "2020-03-05T22:40:43Z")

</div>

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.

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/8/18549b13a706adb751a7e94232349fb49e9e511b.jpeg)

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [5 maart 2020 om 23:36 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756/17 "2020-03-05T23:36:44Z")

</div>

This should fix it

[https://github.com/discourse/discourse-math/commit/5233654fd22252d4bb94d186c9a31f85dc8960a5](https://github.com/discourse/discourse-math/commit/5233654fd22252d4bb94d186c9a31f85dc8960a5)

Thanks for reporting the issue @csandstedt 👍

---

<div class="post-metadata">

### Author: ![davidnewkerk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidnewkerk/32/171224_2.png) [@davidnewkerk](https://meta.discourse.org/u/davidnewkerk)
#### Post date: [6 maart 2020 om 00:11 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756/18 "2020-03-06T00:11:09Z")

</div>

Thank you @Johani for your help on this!

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [7 maart 2020 om 10:00 UTC](https://meta.discourse.org/t/large-mathjax-equation-goes-out-of-margin-in-mobile-mode/126756/19 "2020-03-07T10:00:07Z")

</div>

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