From 5bb0e3690cc4814021db222a5923832b41b3764d Mon Sep 17 00:00:00 2001 From: Taryn Eng Date: Tue, 3 Jun 2025 23:16:26 -0700 Subject: [PATCH] fix Code block does not wrap text when printing --- client/scss/app.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/client/scss/app.scss b/client/scss/app.scss index 566934ec..59ca1268 100644 --- a/client/scss/app.scss +++ b/client/scss/app.scss @@ -29,3 +29,11 @@ @import 'pages/error'; @import 'layout/_rtl'; + +@media print { + pre, code { + white-space: pre-wrap !important; + word-wrap: break-word !important; + } + } + \ No newline at end of file