From 1ca5e15f8e91da24bfcc5c51d7202058651d8c0f Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Sat, 29 Aug 2026 15:28:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E6=9C=AB=E6=9D=A1=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E5=A4=8D=E5=88=B6/=E5=88=86=E6=94=AF=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=8A=A0=E6=A1=A5=E6=8E=A5=E7=83=AD=E5=8C=BA=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E9=BC=A0=E6=A0=87=E6=BB=91=E5=90=91=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E6=97=B6=20hover=20=E6=96=AD=E9=93=BE=E6=94=B6=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Astrion powered by DeepSeek-V4-Flash --- .../src/styles/components/chat/_chat-area.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/static/src/styles/components/chat/_chat-area.scss b/static/src/styles/components/chat/_chat-area.scss index 37495b6f..c8be2ab5 100644 --- a/static/src/styles/components/chat/_chat-area.scss +++ b/static/src/styles/components/chat/_chat-area.scss @@ -869,6 +869,22 @@ z-index: 1; } +/* 透明桥接热区:按钮被绝对定位在容器外,与气泡之间有 4px 间隙, + 鼠标从气泡滑向按钮会经过间隙导致 :hover 中断、按钮收回; + 用伪元素覆盖间隙,让 hover 从气泡平滑转移到按钮(仅命中区域,无视觉变化) */ +.message-block--last + .user-message:not(.user-message--compact):not(.user-message--brief):not( + .user-message--multi-agent + ) + .user-bubble-actions::before { + content: ''; + position: absolute; + left: -12px; + right: -12px; + top: -4px; + height: 4px; +} + .message-block--last .assistant-message .text-output { margin-top: 0; margin-bottom: 0;