Skip to content

Commit f9f6242

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 c1290d7 commit f9f6242

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
@@ -533,6 +533,10 @@ a:active {
533533
body {
534534
margin: revert !important;
535535
}
536+
pre {
537+
white-space: pre-wrap !important;
538+
overflow-wrap: break-word !important;
539+
}
536540
}
537541

538542
.tk-docs {

0 commit comments

Comments
 (0)