Skip to content

Commit 71c5c32

Browse files
committed
Avoid breaking code blocks across pages while printing, if possible
1 parent 8601661 commit 71c5c32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

styles/styles.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ a:active {
531531
pre {
532532
white-space: pre-wrap !important;
533533
overflow-wrap: break-word !important;
534+
break-inside: avoid !important;
534535
}
535536
}
536537

0 commit comments

Comments
 (0)