-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Long code lines expands text outside view on mobile. #10
Comments
The following CSS might be a good fix: pre { word-break: break-all; } |
The It works as a fix, I assume the alternative would be to allow horizontal scrolling in code blocks. I'm not sure which is the better solution as both broken lines and scrolling makes it difficult to read code on a mobile device. Would you know of a way to allow horizontal scrolling in a code block? |
After having a look at the issue again, I have to conclude that I confused
Besides that, the issue only seemed to surface in Firefox, not Chrome. |
I created a new issue at the moment for this and I will look into it further. |
I am experiencing issues where long code lines in a code block can cause mobile browsers to overflow without scrollbars either in the view or the code block.
An example would be a code block like below:
I am attempted to fix the issue, but unsuccessfully.
The text was updated successfully, but these errors were encountered: