From daa9dfebc6da2f8e1a7faacf95a851caa3155911 Mon Sep 17 00:00:00 2001 From: Simon Ruggier Date: Sat, 5 Oct 2024 22:40:48 -0400 Subject: [PATCH] Avoid breaking code blocks across pages while printing, if possible --- styles/styles.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/styles/styles.scss b/styles/styles.scss index a3fb5cb3..679cf626 100644 --- a/styles/styles.scss +++ b/styles/styles.scss @@ -536,6 +536,7 @@ a:active { pre { white-space: pre-wrap !important; overflow-wrap: break-word !important; + break-inside: avoid !important; } }