优化目录候选文件名显示并重新打包

This commit is contained in:
shiyue
2026-09-11 13:56:43 +08:00
parent b8fcc12229
commit 965aefe9a4
6 changed files with 371 additions and 14 deletions

View File

@@ -4425,8 +4425,9 @@ html[data-divider-time='hide'] .msg-bubble .agent-message-divider span {
border-radius: 12px;
box-shadow: 0 4px 20px rgba(45, 31, 20, 0.12);
padding: 6px;
min-width: 240px;
max-width: 320px;
width: min(560px, calc(100vw - 32px));
min-width: min(240px, calc(100vw - 32px));
max-width: none;
max-height: min(52vh, 360px);
overflow-y: auto;
overscroll-behavior: contain;
@@ -4486,6 +4487,23 @@ html[data-divider-time='hide'] .msg-bubble .agent-message-divider span {
text-overflow: ellipsis;
white-space: nowrap;
}
.cmd-item.file-suggestion .cmd-item-cmd {
color: var(--text-primary);
overflow: visible;
text-overflow: clip;
white-space: normal;
overflow-wrap: anywhere;
line-height: 1.35;
}
.cmd-item.file-suggestion .cmd-item-desc {
color: var(--text-muted);
font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
font-size: 12px;
white-space: normal;
overflow-wrap: anywhere;
line-height: 1.35;
max-height: 2.7em;
}
/* === Input Area === */
.input-area {
@@ -4932,7 +4950,7 @@ html[data-divider-time='hide'] .msg-bubble .agent-message-divider span {
gap: 10px;
}
.session-item-actions { display: flex; }
.cmd-menu { left: 10px; right: 10px; transform: none; min-width: auto; bottom: 72px; }
.cmd-menu { left: 10px; right: 10px; transform: none; width: auto; min-width: auto; bottom: 72px; }
.option-picker { left: 10px; right: 10px; transform: none; min-width: auto; bottom: 72px; }
.chat-header {
padding: 0 10px;