From d990fe1d5f6d9286300d74d7cd81dd828cdf5aa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Leblanc?= Date: Sat, 11 Oct 2025 10:39:33 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20feat:=20Word=20Wrapping=20for=20?= =?UTF-8?q?Text=20and=20Markdown=20Code=20Blocks=20(#10055)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enables word wrapping for text, markdown, and plaintext code blocks to prevent horizontal scrolling on long lines. Improves readability for prose content in fenced code blocks. --- client/src/style.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/client/src/style.css b/client/src/style.css index 5f3b2df311..1a3747c80c 100644 --- a/client/src/style.css +++ b/client/src/style.css @@ -1243,8 +1243,12 @@ pre { Ubuntu Mono, monospace !important; } -code[class='language-plaintext'] { - white-space: pre-line; +code.language-text, +code.language-txt, +code.language-plaintext, +code.language-markdown, +code.language-md { + white-space: pre-wrap !important; } code.hljs, code[class*='language-'],