Skip to content

Commit 8601661

Browse files
committed
Wrap code blocks while printing
The scroll bars are fine in a browser, but not so useful in a PDF file or on a printed page.
1 parent f4d7218 commit 8601661

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

styles/styles.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,10 @@ a:active {
528528
body {
529529
margin: revert !important;
530530
}
531+
pre {
532+
white-space: pre-wrap !important;
533+
overflow-wrap: break-word !important;
534+
}
531535
}
532536

533537
.tk-docs {

0 commit comments

Comments
 (0)