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

Allow horizontal scrolling for wide tex.block? #109

Open
mbostock opened this issue Aug 22, 2019 · 1 comment · Fixed by #110
Open

Allow horizontal scrolling for wide tex.block? #109

mbostock opened this issue Aug 22, 2019 · 1 comment · Fixed by #110
Labels
question Further information is requested

Comments

@mbostock
Copy link
Member

On mobile especially, it would be nice if tex.block used overflow-x: auto so that you can read long expressions that would otherwise be cropped. Wikipedia does this, for instance.

@mbostock
Copy link
Member Author

I tried this but it causes y-scrolling too, since KaTeX uses relatively-positioned elements that go outside the bounds of the containing element. I’m not sure how to fix this problem or if it’s possible with CSS, so I reverted.

@mbostock mbostock changed the title Add overflow-x: auto for tex.block. Allow horizontal scrolling for wide tex.block? Aug 22, 2019
@mbostock mbostock reopened this Aug 22, 2019
@mbostock mbostock added the question Further information is requested label Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant