fix(static): 修复极简模式摘要行图标偏移、侧边栏空工作区显示及 folder-closed 图标缺失
This commit is contained in:
parent
4f3ba722a1
commit
089291f77e
13
static/icons/folder-closed.svg
Normal file
13
static/icons/folder-closed.svg
Normal file
@ -0,0 +1,13 @@
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 342 B |
@ -52,10 +52,9 @@
|
||||
</div>
|
||||
<!-- 加载动画或完成图标 -->
|
||||
<div class="summary-status-icon">
|
||||
<component
|
||||
v-if="isSummaryRunning(group.actions, group.id)"
|
||||
:is="getSummaryLoader(group.id)"
|
||||
/>
|
||||
<div v-if="isSummaryRunning(group.actions, group.id)" class="summary-icon-inner">
|
||||
<component :is="getSummaryLoader(group.id)" />
|
||||
</div>
|
||||
<svg
|
||||
v-else
|
||||
class="check-icon"
|
||||
@ -1081,6 +1080,8 @@ onBeforeUnmount(() => {
|
||||
color: var(--claude-text-secondary);
|
||||
line-height: 1.7;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.summary-preview {
|
||||
@ -1095,31 +1096,13 @@ onBeforeUnmount(() => {
|
||||
.summary-tool-reel-window {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: min(100%, 36em);
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
height: 26px;
|
||||
margin-right: 10px;
|
||||
overflow: hidden;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.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);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.summary-tool-reel-track {
|
||||
@ -1157,8 +1140,18 @@ onBeforeUnmount(() => {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 18px;
|
||||
min-height: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
/* 严格限制右侧不溢出对话记录边界;上下左允许动画自然延伸,不裁剪 */
|
||||
clip-path: inset(-100% 0 -100% -100%);
|
||||
}
|
||||
|
||||
.summary-icon-inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
/* 整体向左偏移 10px,不影响容器尺寸和布局 */
|
||||
transform: translateX(-10px);
|
||||
}
|
||||
|
||||
.check-icon {
|
||||
|
||||
@ -217,13 +217,7 @@
|
||||
>
|
||||
<div class="workspace-group-children-inner">
|
||||
<div
|
||||
v-if="getWorkspaceGroup(String(ws.workspace_id || ''))?.loading && !getWorkspaceGroup(String(ws.workspace_id || ''))?.conversations?.length"
|
||||
class="workspace-conversations-loading"
|
||||
>
|
||||
正在加载...
|
||||
</div>
|
||||
<div
|
||||
v-else-if="!getWorkspaceGroup(String(ws.workspace_id || ''))?.conversations?.length"
|
||||
v-if="!getWorkspaceGroup(String(ws.workspace_id || ''))?.conversations?.length"
|
||||
class="workspace-no-conversations"
|
||||
>
|
||||
暂无对话
|
||||
|
||||
Loading…
Reference in New Issue
Block a user