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:
parent
1d0a7e95fa
commit
cfdec831d8
@ -1096,13 +1096,31 @@ onBeforeUnmount(() => {
|
|||||||
.summary-tool-reel-window {
|
.summary-tool-reel-window {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: auto;
|
width: min(100%, 36em);
|
||||||
max-width: 100%;
|
|
||||||
height: 26px;
|
height: 26px;
|
||||||
margin-right: 10px;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
vertical-align: top;
|
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 {
|
.summary-tool-reel-track {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user