web: app shell — left destination rail, settings-hosted connection, viewport panes
The layout item's work plus the two defects its review found:
- the wide grid sized the list track from its MAX, so at 600-759px the detail pane
was clipped to 40-199px; cap the list below 900px and narrow the rail there
(measured now: detail 232px at 600, 332 at 700, 340 at 900, 880 at 1440);
- the shell said 'Not connected' on a fresh page because the prefilled proxy URL
validated; the status now reflects a SAVED endpoint ('Not configured' until then)
and refreshes as the draft changes.
Includes the rail + bottom dock, connection moved into Settings, viewport-only
scrolling with panes that scroll themselves, tab semantics, skip link, h1 per
route, and the design tokens.
This commit is contained in:
+22
-11
@@ -4,7 +4,8 @@
|
||||
is untrusted model output, so every node is built with textContent.
|
||||
--------------------------------------------------------------------------- */
|
||||
|
||||
.chat-list { display: flex; flex-direction: column; }
|
||||
.chat-list { display: flex; flex-direction: column; min-height: 0; }
|
||||
.chat-rows { flex: 1 1 auto; min-height: 0; align-content: start; padding-bottom: 180px; }
|
||||
/* A row's Chat actions menu hangs below the button. `.list` clips its children
|
||||
for the rounded corners, which cut the panel off at the list's bottom edge and
|
||||
made the final rows' Hide/Rename items unclickable. Unclip only while a menu is
|
||||
@@ -163,8 +164,17 @@
|
||||
.chat-activity-streaming { color: var(--accent); }
|
||||
.chat-activity-new { color: #7fb2f0; }
|
||||
|
||||
.chat-detail { display: flex; flex-direction: column; gap: 10px; }
|
||||
.chat-bar { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
|
||||
.chat-detail {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-xs);
|
||||
padding: var(--space-m);
|
||||
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-titles { display: grid; gap: 2px; min-width: 0; }
|
||||
.chat-bar-title { margin: 0; font-size: 16px; }
|
||||
.chat-bar-meta { font-size: 12px; }
|
||||
@@ -172,18 +182,19 @@
|
||||
.chat-load-older { white-space: nowrap; font-size: 12px; }
|
||||
.chat-transcript-empty { padding: 24px 12px; }
|
||||
|
||||
.chat-transcript-wrap { position: relative; flex: 1 1 auto; min-height: 320px; }
|
||||
.chat-transcript-wrap { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
|
||||
.chat-transcript {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
max-height: min(62vh, 660px);
|
||||
gap: var(--space-xs);
|
||||
overflow-y: auto;
|
||||
padding: 12px;
|
||||
background: var(--bg);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
overscroll-behavior: contain;
|
||||
padding: var(--space-s);
|
||||
background: var(--color-bg);
|
||||
border: 1px solid var(--color-divider);
|
||||
border-radius: var(--radius-card);
|
||||
}
|
||||
.chat-turn { display: flex; }
|
||||
.chat-turn-user { justify-content: flex-end; }
|
||||
@@ -524,7 +535,7 @@
|
||||
|
||||
/* The composer at the foot of a conversation (C8/C9). The field grows 1–6 rows;
|
||||
the primary control turns from Send to Stop while a turn is in flight. */
|
||||
.chat-composer { display: grid; gap: 8px; padding-top: 6px; border-top: 1px solid var(--border); }
|
||||
.chat-composer { flex: 0 0 auto; display: grid; gap: var(--space-xs); padding-top: 6px; border-top: 1px solid var(--color-divider); }
|
||||
.chat-queued { font-size: 12px; color: var(--muted); }
|
||||
|
||||
.chat-attachment-strip { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
|
||||
Reference in New Issue
Block a user