stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

Allow horizontal scrolling for wide tex.block?

Open mbostock opened this issue 6 years ago • 1 comments

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 avatar Aug 22 '19 16:08 mbostock

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 avatar Aug 22 '19 23:08 mbostock