fix(ui-web): remove assistant bubble background

This commit is contained in:
2026-09-19 23:45:16 +08:00
parent 5cd97debdc
commit 97e8545b50
+6 -6
View File
@@ -157,7 +157,7 @@ body, html {
width: 85%; width: 85%;
} }
/* 🆕 内层同步撑满:.reply-content 基类是 fit-content(贴内容缩), /* 🆕 内层同步撑满:.reply-content 基类是 fit-content(贴内容缩),
可见气泡(md-segment 背景/思考卡/工具卡)都在它里面 → 必须 100% 才真正恒定 */ 可见内容块(正文段/思考卡/工具卡)都在它里面 → 必须 100% 才真正恒定 */
.assistant .reply-content { width: 100%; } .assistant .reply-content { width: 100%; }
.user .message-content { align-items: flex-end; } .user .message-content { align-items: flex-end; }
@@ -893,15 +893,15 @@ body, html {
} }
/* ========== 助手正文气泡(流式中/完成后一致) ========== */ /* ========== 助手正文(流式中/完成后一致,保持透明 ========== */
.message-wrapper.assistant .reply-content .md-segment { .message-wrapper.assistant .reply-content .md-segment {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: 10px 14px; padding: 0;
color: #30343b; color: #30343b;
background-color: #f6f7f9; background: transparent;
border: 1px solid #eceff3; border: none;
border-radius: 8px; border-radius: 0;
} }
.message-wrapper.assistant .reply-content .md-segment + .md-segment { .message-wrapper.assistant .reply-content .md-segment + .md-segment {
margin-top: 6px; margin-top: 6px;