-
Notifications
You must be signed in to change notification settings - Fork 39
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
Make code blocks scrollable horizontally #11
Comments
i restricted overflow to the x axis because otherwise i would have to make a decision over what constitutes an adequately long code block along the y axis and i punted on that issue. i could be arbitrary and put a line in the sand now but i didn't care to. |
Would |
I personally like this solution. I prefer the Y-axis show the full length code instead of trying to scroll. |
It seems that code blocks currently default to word-wrapping the text horizontally instead of allowing the reader to scroll left and right. This means that code samples published with this theme that drift rightward end up being wrapped, breaking their formatting and readability. This could be fixed by adjusting
overflow
, I think?The text was updated successfully, but these errors were encountered: