web: unify detail headers, queue follow-ups, move thinking outside bubbles
Every detail screen now owns one 44px chevron Back control beside its title. Sending appends the user's message immediately and keeps Send available beside Stop so a follow-up can be queued. Reasoning renders above the answer bubble rather than inside it.
This commit is contained in:
+8
-22
@@ -18,16 +18,7 @@
|
||||
names the value chat_create will send. */
|
||||
.chat-create { gap: 12px; }
|
||||
.chat-bar.chat-create-bar { align-items: center; justify-content: flex-start; gap: 10px; }
|
||||
.chat-create-back {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
padding: 0;
|
||||
flex: none;
|
||||
}
|
||||
.chat-create-back-glyph { font-size: 16px; line-height: 1; }
|
||||
.chat-create-back { flex: none; }
|
||||
.detail .chat-create-title { margin: 0; }
|
||||
.chat-create-loading { padding: 18px 4px; }
|
||||
.chat-create-prompt { padding: 2px 2px 0; font-size: 13px; }
|
||||
@@ -291,7 +282,7 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
.chat-create { overflow-y: auto; overscroll-behavior: contain; }
|
||||
.chat-bar { flex: 0 0 auto; display: flex; gap: var(--space-s); align-items: flex-start; justify-content: space-between; }
|
||||
.chat-bar { flex: 0 0 auto; display: flex; gap: var(--space-s); align-items: center; justify-content: space-between; }
|
||||
.chat-bar-titles { display: grid; gap: 2px; min-width: 0; }
|
||||
.chat-bar-title { margin: 0; font-size: 16px; }
|
||||
.chat-bar-meta { font-size: 12px; }
|
||||
@@ -345,6 +336,9 @@
|
||||
.chat-tool-chip:hover { color: var(--color-text); }
|
||||
|
||||
.chat-reasoning { margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px dashed var(--border); }
|
||||
/* Thinking sits outside and above the answer bubble, like the tool summary
|
||||
outside and below it; it is a quiet evidence line, not message content. */
|
||||
.chat-turn-agent > .chat-reasoning { margin: 0 0 2px; padding: 0 2px 4px; }
|
||||
.chat-reasoning-toggle {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
@@ -764,7 +758,7 @@
|
||||
overflow-y: hidden;
|
||||
}
|
||||
.chat-composer-input:focus-visible { outline: 2px solid var(--accent); outline-offset: -1px; }
|
||||
.chat-composer-primary { display: inline-flex; align-items: flex-end; }
|
||||
.chat-composer-primary { display: inline-flex; align-items: flex-end; gap: 6px; }
|
||||
.chat-send, .chat-stop {
|
||||
padding: 8px 12px;
|
||||
font-size: 16px;
|
||||
@@ -901,7 +895,7 @@
|
||||
|
||||
/* The conversation's own compact Back control, matching the create pane. The
|
||||
narrow layout is where the chat list is covered; wide keeps the two panes. */
|
||||
.chat-bar-lead { display: flex; align-items: flex-start; gap: 8px; min-width: 0; flex: 1 1 auto; }
|
||||
.chat-bar-lead { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 auto; }
|
||||
.chat-back { display: none; }
|
||||
@media (max-width: 599px) {
|
||||
.chat-back { display: inline-flex; }
|
||||
@@ -936,15 +930,7 @@
|
||||
font-size: 18px;
|
||||
}
|
||||
.chat-row-actions .chat-menu-item { padding: 8px 12px; font-size: 14px; }
|
||||
button.chat-create-back,
|
||||
button.chat-back {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
background: var(--color-surface-2);
|
||||
border-color: var(--color-border);
|
||||
color: var(--color-text);
|
||||
}
|
||||
.chat-create-back-glyph { font-size: 24px; }
|
||||
.back-button .back-chevron { width: 24px; height: 24px; }
|
||||
.chat-bar-title { font-size: 18px; }
|
||||
.chat-activity { font-size: 12px; }
|
||||
.chat-send,
|
||||
|
||||
Reference in New Issue
Block a user