From c6eb0bbe5b5d7c8a1f4ff07c15df49dd7a42d528 Mon Sep 17 00:00:00 2001 From: Sakurasan <26715255+Sakurasan@users.noreply.github.com> Date: Tue, 29 Sep 2026 01:53:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E7=9C=9F=E6=9C=BA=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E7=BC=A9=E6=88=90=E4=B8=80=E5=9B=A2=EF=BC=9A.prose=20=E8=A1=A5?= =?UTF-8?q?=20overflow-wrap:anywhere=E2=80=94=E2=80=94=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E7=BA=BF=E6=AD=A3=E6=96=87=E9=87=8C=E7=9A=84=E8=A3=B8=20URL=20?= =?UTF-8?q?=E4=B8=8D=E5=8F=AF=E6=96=AD=E8=A1=8C=E6=8A=8A=E5=B8=83=E5=B1=80?= =?UTF-8?q?=E6=92=91=E5=88=B0=20557px=EF=BC=8C=E6=89=8B=E6=9C=BA=E6=B5=8F?= =?UTF-8?q?=E8=A7=88=E5=99=A8=E7=BC=A9=E6=94=BE=E9=80=82=E9=85=8D=E6=BA=A2?= =?UTF-8?q?=E5=87=BA=E5=AE=BD=E5=BA=A6=E5=90=8E=E6=95=B4=E9=A1=B5=E7=BC=A9?= =?UTF-8?q?=E5=B0=8F=E3=80=81=E5=8F=B3=E4=BE=A7=E7=95=99=E5=87=BA=E8=A2=AB?= =?UTF-8?q?=E8=A3=81=E5=89=AA=E7=9A=84=E7=A9=BA=E7=99=BD=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/styles.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/styles.css b/frontend/src/styles.css index 5cbb2bb..2c6cd8b 100644 --- a/frontend/src/styles.css +++ b/frontend/src/styles.css @@ -230,7 +230,10 @@ html.topbar-hidden {--topbar-h: 0px;} min-width: 0;} .prose {font-size: 16.5px; line-height: var(--lh); - color: var(--ink);} + color: var(--ink); + /* anywhere 而非 break-word:长 URL/长 token 要参与 min-content 计算, + 否则时间线正文里的裸链接会把列撑破(真机上浏览器缩放适配后整页缩小+右侧留白) */ + overflow-wrap: anywhere;} .prose > :first-child {margin-top: 22px;} .prose p {margin: 0 0 1.1em;} .prose > p:first-of-type::first-letter {float: left;