diff --git a/static/icons/folder-closed.svg b/static/icons/folder-closed.svg new file mode 100644 index 0000000..ef69b34 --- /dev/null +++ b/static/icons/folder-closed.svg @@ -0,0 +1,13 @@ + + + diff --git a/static/src/components/chat/MinimalBlocks.vue b/static/src/components/chat/MinimalBlocks.vue index d6cd22b..afb3a34 100644 --- a/static/src/components/chat/MinimalBlocks.vue +++ b/static/src/components/chat/MinimalBlocks.vue @@ -52,10 +52,9 @@
- +
+ +
{ 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 { diff --git a/static/src/components/sidebar/ConversationSidebar.vue b/static/src/components/sidebar/ConversationSidebar.vue index d36a848..8bf61ca 100644 --- a/static/src/components/sidebar/ConversationSidebar.vue +++ b/static/src/components/sidebar/ConversationSidebar.vue @@ -217,13 +217,7 @@ >
- 正在加载... -
-
暂无对话