Code blocks overflow their container.
Open
- Dominant language
- Haskell
- Stars
- 2.3k
- Forks
- 231
- PR merge metrics
- No merged PRs in 30d
Description
Code blocks render without overflow control. Long lines of code render outside their containers.
A possible fix is for each user to add a custom CSS property.
```
pre{overflow-x: auto;}
```
This will add a horizontal scroll bar when the text overflows the container.
Perhaps this can be added to the default CSS files.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the default CSS files that style rendered code blocks and inspect the rules for preformatted text. Add overflow control for long lines, then verify that code exceeding its container can scroll horizontally without affecting shorter blocks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100