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

fix overflow text in code blocks #453

Open
jashapiro opened this issue Mar 11, 2021 · 0 comments
Open

fix overflow text in code blocks #453

jashapiro opened this issue Mar 11, 2021 · 0 comments
Labels
dev help Requires engineering team help prettify Issues that are about making things prettier

Comments

@jashapiro
Copy link
Member

When the browser window is very narrow, code blocks have code that extends to the right of the enclosing box. This looks fine until you try to scroll to the right, and then things get messy:

Screen Shot 2021-03-11 at 9 30 55 AM

I assume this can be fixed in the CSS we provide, but with syntax coloring and all that, it got quickly past my abilities the last time I looked at it.

One potential option is to make the code wrap so the box never overflows to the right (this seems to be how output blocks are styled), but I'd rather not do that, personally. I'm willing to be overruled.

@jashapiro jashapiro added prettify Issues that are about making things prettier dev help Requires engineering team help labels Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev help Requires engineering team help prettify Issues that are about making things prettier
Projects
None yet
Development

No branches or pull requests

1 participant