From ec4590855e826004fd1bd76a3a051fd94145f218 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:02:10 +0800 Subject: [PATCH] =?UTF-8?q?style(Markdown):=20=E4=B8=BA=20Markdown=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=B7=BB=E5=8A=A0=E6=96=AD=E8=AF=8D=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在 Markdown 容器 div 的类名中添加 `break-words` 实用类,确保长单词或 URL 在超出容器宽度时自动换行,避免破坏页面布局。 --- src/components/misc/Markdown.astro | 2 +- src/content/posts/pin.md | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/misc/Markdown.astro b/src/components/misc/Markdown.astro index 10a415a04..a0c3e0149 100644 --- a/src/components/misc/Markdown.astro +++ b/src/components/misc/Markdown.astro @@ -7,7 +7,7 @@ interface Props { } const className = Astro.props.class; --- -
+
diff --git a/src/content/posts/pin.md b/src/content/posts/pin.md index fa3c254fa..dcf2c6586 100644 --- a/src/content/posts/pin.md +++ b/src/content/posts/pin.md @@ -25,8 +25,6 @@ description: 关于如何联系二叉树树~ # 非官方 -123123123121231231231212312312312123123123121231231231212312312312123123123121231231231212312312312123123123121231231231212312312312123123123121231231231212312312312123123123121231231231212312312312123123123121231231231212312312312123123123121231231231212312312312123123123121231231231212312312312123123123121231231231212312312312123123123121231231231212312312312123123123121231231231212312312312123123123121231231231212312312312123123123121231231231212312312312 - > 粉丝自建 [Telegram: View @blog2x](https://t.me/blog2x) \ No newline at end of file