Skip to content

Commit

Permalink
docs: limit code block width
Browse files Browse the repository at this point in the history
  • Loading branch information
tc-imba committed Oct 7, 2024
1 parent 1496812 commit 3fcd4a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@

.md-typeset pre > code {
max-height: var(--md-codeblock-height, 20rem); /* 5rem will be used as a fallback value */
white-space : pre-wrap !important;
word-break: break-word;
}

0 comments on commit 3fcd4a1

Please sign in to comment.