fix(ui): 末条消息复制/分支按钮加桥接热区,修复鼠标滑向按钮时 hover 断链收回

Co-authored-by: Astrion powered by DeepSeek-V4-Flash <astrion-agent@users.noreply.github.com>
This commit is contained in:
JOJO 2026-08-29 15:28:07 +08:00
parent bc8337ab09
commit 1ca5e15f8e

View File

@ -869,6 +869,22 @@
z-index: 1; 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 { .message-block--last .assistant-message .text-output {
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;