Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some inline equations have vertical scrollbars #858

Closed
choldgraf opened this issue Aug 6, 2022 · 2 comments · Fixed by #871 or #872
Closed

Some inline equations have vertical scrollbars #858

choldgraf opened this issue Aug 6, 2022 · 2 comments · Fixed by #871 or #872
Labels
kind: bug Something isn't working
Milestone

Comments

@choldgraf
Copy link
Collaborator

Some of the inline equations have vertical scrollbars. This isn't true for all of them. For example:

image

From: https://pydata-sphinx-theme.readthedocs.io/en/latest/user_guide/theme-elements.html#mathematics

@choldgraf choldgraf added the kind: bug Something isn't working label Aug 6, 2022
@choldgraf choldgraf added this to the 0.10 milestone Aug 6, 2022
@drammock
Copy link
Collaborator

I don't actually see this behavior (in Firefox for Linux) but I do see it in Chromium. Injecting style="overflow-y: hidden;" into the span class="math notranslate nohighlight" that surrounds the mjx-container fixes it in Chromium for me. I'll make a PR.

@choldgraf
Copy link
Collaborator Author

Just a quick note that I tried to fix the scrolling bug noted in #857 and the fix there also fixed this one as well. Didn't meant to supercede your PR @drammock but just FYI!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working
Projects
None yet
2 participants