From d3622ce43881000d2228e13d53397803ff0f802a Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Sat, 22 Aug 2026 19:12:08 +0800 Subject: [PATCH] =?UTF-8?q?fix(quickdock):=20=E8=A1=8C=E9=AB=98=E7=94=B1?= =?UTF-8?q?=201=20=E6=94=B9=E4=B8=BA=201.4=20=E9=81=BF=E5=85=8D=E4=B8=8B?= =?UTF-8?q?=E4=BC=B8=E5=AD=97=E6=AF=8D=E8=A2=AB=E8=A3=81=E5=89=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit line-height 压成 1 时瘦高字体的下伸部(g/p/y 等)会超出行盒被 overflow 裁掉 --- static/src/components/chat/quickdock/quickdock.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/static/src/components/chat/quickdock/quickdock.css b/static/src/components/chat/quickdock/quickdock.css index ad605737..1611d80a 100644 --- a/static/src/components/chat/quickdock/quickdock.css +++ b/static/src/components/chat/quickdock/quickdock.css @@ -247,7 +247,8 @@ flex: 1; min-width: 0; font-size: 13px; - line-height: 1; + /* 不能压成 1:瘦高字体的下伸部(g/p/y 等)会超出行盒被 overflow 裁掉 */ + line-height: 1.4; color: var(--text-primary); white-space: nowrap; overflow: hidden; @@ -1161,7 +1162,8 @@ flex: 1; min-width: 0; font-size: 13px; - line-height: 1; + /* 同 .qd-todo-text:line-height 压 1 会裁掉下伸字母 */ + line-height: 1.4; color: var(--text-primary); white-space: nowrap; overflow: hidden;