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

Line overflow in code block causes superposition of text #4

Open
specious opened this issue Dec 28, 2016 · 0 comments
Open

Line overflow in code block causes superposition of text #4

specious opened this issue Dec 28, 2016 · 0 comments

Comments

@specious
Copy link
Contributor

Shrinking the viewport to where at least one line of code inside a code block does not fit fully in the space provided causes such a line to be broken, and rendered on top of the next line. At the same time, the line numbers in the gutter switch to being rendered in the space of one character, such that double and triple digit line numbers are now shown with their digits superimposed.

Here's a code block which fits entirely in the space provided, rendered without problems:

css-code-block

When I add another yada to the comment, the line overflows and is therefore broken, and the superposition happens. At the same time, the gutter rendering is also corrupted for line numbers greater than 9:

css-code-block-with-line-overflow

@specious specious changed the title Line overflow in code block causes superimposing of text Line overflow in code block causes superposition of text Jan 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant