Skip to content

Commit

Permalink
fix: adding word break and wrapping to pre elements to allow for long…
Browse files Browse the repository at this point in the history
…er code examples to render correctly
  • Loading branch information
joe-mccarthy committed Nov 26, 2024
1 parent 988e2b7 commit f5e6c96
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions static/css/smigle-lite.css
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,10 @@ article {
float: right;
text-align: right;
display: inline;
}

pre {
/*overflow-x: visible;*/
white-space: pre-wrap;
word-break: break-word;
}

0 comments on commit f5e6c96

Please sign in to comment.