fix(static): 修复极简模式并行工具时摘要行空白与 reel 动画消失

089291f7 将 .summary-tool-reel-window 宽度改为 auto,但其内部
reel 轨道为 absolute 定位不贡献宽度,导致窗口塌缩为 0 宽:
并行工具调用时摘要行渲染空白、滚动 reel 动画不可见。

恢复 reel 窗口 width: min(100%, 36em) 与上下渐变遮罩,
同时保留 089291f7 的摘要行图标偏移修复(18px 固定图标容器
+ clip-path 右侧裁剪 + summary-icon-inner 左移 10px)。
This commit is contained in:
JOJO 2026-07-18 00:15:06 +08:00
parent 1d0a7e95fa
commit cfdec831d8

View File

@ -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 {