fix(canvas): 恢复 Agent 消息视觉标记

This commit is contained in:
ddcat666
2026-09-27 18:41:19 +08:00
parent 67486f1cff
commit 10f539ea51
2 changed files with 33 additions and 0 deletions

View File

@@ -1791,6 +1791,23 @@
background: color-mix(in srgb, var(--agent-reasoning-accent) 4%, transparent);
}
/* 只留无底图标:与正文标记使用同一套轻量视觉语言。 */
.agent-reasoning-icon {
display: grid;
width: var(--agent-thought-icon, 16px);
height: var(--agent-thought-icon, 16px);
flex: 0 0 var(--agent-thought-icon, 16px);
place-items: center;
border: 0;
border-radius: 0;
background: transparent;
color: color-mix(in srgb, var(--agent-reasoning-accent) 82%, var(--foreground));
}
.agent-reasoning-icon.is-live {
animation: agent-reasoning-icon-pulse 1.8s ease-in-out infinite;
}
.agent-reasoning-copy {
display: flex;
min-width: 0;