From 668fd34af66895a37a1201771abc6a4eb6f90064 Mon Sep 17 00:00:00 2001 From: SiriusXT <1160925501@qq.com> Date: Mon, 1 Dec 2025 13:55:21 +0800 Subject: [PATCH] fix(text): code blocks cannot wrap automatically --- apps/client/src/stylesheets/theme-next/notes/text.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/stylesheets/theme-next/notes/text.css b/apps/client/src/stylesheets/theme-next/notes/text.css index 92574b541..c261bb1f8 100644 --- a/apps/client/src/stylesheets/theme-next/notes/text.css +++ b/apps/client/src/stylesheets/theme-next/notes/text.css @@ -643,7 +643,7 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child { } } -.note-detail-printable:not(.word-wrap) pre code { +.ck-content:not(.word-wrap) pre code { white-space: pre; }