Talk's layout at every screen size
/talk is one grid in src/web/pages/talk_client.ts (talkCss), checked by test/talk-layout.test.ts in a real Chromium at 360, 768, 900, 1280 and 2560 px, and for an empty conversation at 390, 900 and 1280 (#15734). The window is the thread's one scroller at every size: nothing inside the thread scrolls on its own, so following a reply, the keyboard and the browser's own find all work on one surface. The terminal shows the same conversations in src/tui/screens/talk_chats.ts, with no grid around them.
- Phone, under 56.25rem (900 px): the thread alone, its head sticky under the top bar with the way to the list at its start, and the composer pinned above the keyboard (
--kb, andinteractive-widget=resizes-contentwhere the browser honours it). The list is its own view (?chats=1). - Tablet, 56.25rem up: the list beside the thread, sticky, scrolling on its own; the thread is a centred reading column of at most 46rem.
- Laptop, 80rem up: while the conversation builds an app, or something it worked on is running, a third column holds the build panel and the preview. With nothing to show there is no third column. Below 80rem that column is the Preview tab of a Chat / Preview switch.
- Empty conversation: a greeting and the composer sit mid-screen, the starters as chips between them; Build an app turns the same composer into the one that makes an app (
?build=1).
Prior art each choice borrows from:
- One centred reading column with the composer as a rounded box at its foot: Claude and ChatGPT.
- The list beside the thread on a tablet, its own screen on a phone: iMessage, Slack.
- The preview beside the chat only while there is an app: Claude's artifacts pane, v0's preview.