Closed Liam0205 closed 5 years ago
Are you using Edge?
Nope, I'm using Chrome.
Chrome on Windows or macOS or Linux? It seems fine on my Mac. Horizon scroll bar should only appear when the content of math formulae is overflowed.
@stevenjoezhang Sorry for lack of information.
I'm currently on Windows 7, with Chrome 72.0.3626.119.
BTW, after upgrading to 7.0.1, I was on 6.7.0, which is fine with these equations.
Thanks for your reporting. You can try to edit layout/_third-party/math/mathjax.swig
like https://github.com/theme-next/hexo-theme-next/pull/488/files, and see if the problem still exist
overflow: auto hidden;
is not working on Mac Safari, so I edited it in https://github.com/theme-next/hexo-theme-next/pull/603/files. I'm not sure which PR caused the unexpected scroll bar
I'll check this in seconds.
For the following settings, the scroll bar still exists.
<style>
.MathJax_Display {
overflow: auto hidden;
overflow-x: scroll;
overflow-y: hidden;
}
</style>
For the following settings, the scroll bar disappears.
<style>
.MathJax_Display {
overflow: auto hidden;
overflow-x: hidden;
overflow-y: hidden;
}
</style>
BTW, I asked some of my friends to see if they could reproduce this problem, with the following results:
BTW, I love your blogs. @stevenjoezhang
BTW, I love your blogs. @stevenjoezhang
@Liam0205 Thanks.
Seems we need to find a more beautiful solution to deal with the mathjax overflow problem
同样的问题,我也发现了。从6.7.0升级过来让我被这个折腾了好久,我是win10下edge和chrome都会出现滚动条,在mac,ipad,Android都没发现这个错误
Fixed in #669
@stevenjoezhang Thanks for your reminding. I'll merge this modification after a new version is released to my site, and check it to see if the problem is gone.
From the test result, I believe this bug has been fixed. Thus the issue is closed.
This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.
I agree and want to create new issue
Expected behavior
When posting display MathJax equations, there is no horizon scroll bar under equations.
Actual behavior
There are unexpected horizon scroll bar under equations.
Steps to reproduce the behavior
Node.js and NPM Information
Package dependencies Information
Hexo Information
Hexo version
Hexo Configuration
NexT Information
NexT Version:
NexT Scheme:
NexT Configuration:
Other Information
Tested environments: