Skip to content

Commit

Permalink
Fixed Code white-space
Browse files Browse the repository at this point in the history
Code text should overflow correctly.
  • Loading branch information
matrixfox committed May 21, 2024
1 parent 8a75fbf commit 191b444
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _src/less/reset.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ pre {
word-wrap: normal;
}

pre code {
white-space: pre;
}

h1, h2, h3 {
margin-top: 0px;
margin-bottom: 0px;
Expand Down
3 changes: 3 additions & 0 deletions stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: pre;
}
h1,
h2,
h3 {
Expand Down

0 comments on commit 191b444

Please sign in to comment.