-
-
Notifications
You must be signed in to change notification settings - Fork 244
Closed
Labels
Description
Describe the bug
Code blocks, when very long, are allowed to overflow outside of the contain
class.
Reproduction steps
Steps to reproduce the behavior:
- Create a code block with a really really long line, so long that the text is larger than the container (maybe copy this line?)
- Look at code block
Expected behavior
The code block does not overflow outside of the box
Desktop (please complete the following information):
- OS: macOS
- Browser LibreWolf (Firefox fork)
- Version 111.0.1-1
Additional context
The solution was included in the picture, and also below:
pre {
overflow-x: scroll;
}
Make sure to test it a variety of cases. (I also might make a PR myself to fix this issue since you know, I already got the solution right above)