From d89978d2a204331dc2be4af7dff4425dc101efd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E5=8F=89=E6=A0=91=E6=A0=91?= Date: Sun, 25 Jan 2026 21:15:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E4=B8=AD=E9=95=BF=E6=96=87=E6=9C=AC=E6=8D=A2=E8=A1=8C=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在 diff 显示区域为所有行添加 break-all 和 whitespace-pre-wrap 类,确保长单词或URL能正确换行,避免内容溢出。 --- src/components/widget/NewPostNotification.astro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/widget/NewPostNotification.astro b/src/components/widget/NewPostNotification.astro index de52ae69e..4af9770b8 100644 --- a/src/components/widget/NewPostNotification.astro +++ b/src/components/widget/NewPostNotification.astro @@ -240,9 +240,9 @@ ${isUpdated && post.diff ? `