Skip to content

Commit daa9dfe

Browse files
committed
Avoid breaking code blocks across pages while printing, if possible
1 parent f9f6242 commit daa9dfe

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
@@ -536,6 +536,7 @@ a:active {
536536
pre {
537537
white-space: pre-wrap !important;
538538
overflow-wrap: break-word !important;
539+
break-inside: avoid !important;
539540
}
540541
}
541542

0 commit comments

Comments
 (0)