From 8ada23ea0ec745d94a18fed6416286fa96253b31 Mon Sep 17 00:00:00 2001 From: Suzumiya Date: Sun, 4 Oct 2026 17:34:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9AAGC=20=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E8=B0=83=E7=94=A8=E7=BB=84=E6=8A=98=E5=8F=A0=E7=AE=AD?= =?UTF-8?q?=E5=A4=B4=E5=B1=95=E5=BC=80=E6=97=B6=E4=BB=8D=E6=9C=9D=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除 .agent-tool-call-group-head[aria-expanded='true'] .agent-tool-call-group-chevron 的 rotate(180deg),消除与共享 AgentProcessSummary wrapper 叠加的 360° 旋转 - 在 .agent-tool-call-group-chevron 上方补注释,写明换向唯一来源在共享 wrapper,避免再次重复旋转 --- apps/ai-game-creator-shell/src/styles.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/apps/ai-game-creator-shell/src/styles.css b/apps/ai-game-creator-shell/src/styles.css index 74d8e5e41..6c1c2d398 100644 --- a/apps/ai-game-creator-shell/src/styles.css +++ b/apps/ai-game-creator-shell/src/styles.css @@ -12415,17 +12415,15 @@ button.design-workspace-tree__entry:hover, white-space: nowrap; } +/* 组头 chevron 只保留外层定位与过渡;**换向唯一来源**是共享 `AgentProcessSummary` 的 + `[aria-expanded='true'] > .agent-process-summary .agent-process-summary-chevron`。 + 这里若再写一条 `rotate(180deg)`,会与 wrapper 的旋转叠加成 360°,展开态看起来仍是朝下。 */ .agent-tool-call-group-chevron { flex: 0 0 auto; color: inherit; transition: transform 120ms ease; } -.agent-tool-call-group-head[aria-expanded='true'] - .agent-tool-call-group-chevron { - transform: rotate(180deg); -} - /* `hidden` 必须压过下面的 `display: grid`,否则折叠态只是内容不可见却仍占位。 */ .agent-tool-call-group-body[hidden], .agent-tool-call-row-detail[hidden] {