From cfdec831d85f28ce3da0ec787131a039e6c457ee Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Sat, 18 Jul 2026 00:15:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(static):=20=E4=BF=AE=E5=A4=8D=E6=9E=81?= =?UTF-8?q?=E7=AE=80=E6=A8=A1=E5=BC=8F=E5=B9=B6=E8=A1=8C=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E6=97=B6=E6=91=98=E8=A6=81=E8=A1=8C=E7=A9=BA=E7=99=BD=E4=B8=8E?= =?UTF-8?q?=20reel=20=E5=8A=A8=E7=94=BB=E6=B6=88=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 089291f7 将 .summary-tool-reel-window 宽度改为 auto,但其内部 reel 轨道为 absolute 定位不贡献宽度,导致窗口塌缩为 0 宽: 并行工具调用时摘要行渲染空白、滚动 reel 动画不可见。 恢复 reel 窗口 width: min(100%, 36em) 与上下渐变遮罩, 同时保留 089291f7 的摘要行图标偏移修复(18px 固定图标容器 + clip-path 右侧裁剪 + summary-icon-inner 左移 10px)。 --- static/src/components/chat/MinimalBlocks.vue | 26 +++++++++++++++++--- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/static/src/components/chat/MinimalBlocks.vue b/static/src/components/chat/MinimalBlocks.vue index afb3a34..bf92236 100644 --- a/static/src/components/chat/MinimalBlocks.vue +++ b/static/src/components/chat/MinimalBlocks.vue @@ -1096,13 +1096,31 @@ onBeforeUnmount(() => { .summary-tool-reel-window { position: relative; display: inline-block; - width: auto; - max-width: 100%; + width: min(100%, 36em); height: 26px; - margin-right: 10px; overflow: hidden; vertical-align: top; - min-width: 0; +} + +.summary-tool-reel-window::before, +.summary-tool-reel-window::after { + content: ''; + position: absolute; + left: 0; + right: 0; + z-index: 1; + height: 6px; + pointer-events: none; +} + +.summary-tool-reel-window::before { + top: 0; + background: linear-gradient(180deg, var(--surface-base), transparent); +} + +.summary-tool-reel-window::after { + bottom: 0; + background: linear-gradient(0deg, var(--surface-base), transparent); } .summary-tool-reel-track {