From b4e61ce6274c1e840c1cfbb582fe32b680afa4af Mon Sep 17 00:00:00 2001 From: zyc <1439655764@qq.com> Date: Tue, 30 Jun 2026 10:32:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B6=88=E6=81=AF=E4=B8=AD=E5=BF=83?= =?UTF-8?q?=E6=94=B6=E4=BB=B6=E7=AE=B1=E5=89=AF=E6=96=87=E6=A1=88=E5=8D=95?= =?UTF-8?q?=E8=A1=8C=E7=9C=81=E7=95=A5,=E4=B8=8D=E6=8D=A2=E8=A1=8C?= =?UTF-8?q?=E6=92=91=E7=A0=B4=E5=AF=B9=E9=BD=90=20(PMC-row19/UI-row2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .msg-brief 从 -webkit-line-clamp:2 改为 1 + word-break:break-all: 长文案超出一行即省略号截断,修复 UI 反馈「文字太长换行后与 UI 框错位」。 Co-Authored-By: Claude Opus 4.8 --- core/frontend/src/messages-page.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/frontend/src/messages-page.css b/core/frontend/src/messages-page.css index 74f55c2..65cd968 100644 --- a/core/frontend/src/messages-page.css +++ b/core/frontend/src/messages-page.css @@ -219,10 +219,12 @@ color: var(--black-alpha-56); font-size: 12px; line-height: 1.55; + /* 收件箱副文案:超出一行即省略号截断,不换行撑破行高对齐(UI 反馈:文字太长换行后与 UI 框错位) */ display: -webkit-box; - -webkit-line-clamp: 2; + -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; + word-break: break-all; } .msg-item-foot { display: flex;