Skip to content

Keep an AI account's lines in its name's column, clear of its controls - #996

Merged
lavaman131 merged 1 commit into
mainfrom
ai-accounts-columns
Nov 22, 2026
Merged

lavaman131 merged 1 commit into
mainfrom
ai-accounts-columns

Conversation

@lavaman131

Copy link
Copy Markdown
Collaborator

On the AI accounts page a row's lines ran under its state, action and ⋯ columns: "Use OpenAI models with your ChatGPT plan." sat right under "Not connected" and Sign in, so the columns had no separation, and a control centred on the 20px name line reached into the line below.

  • The row is laid out as a table's row: the lines stay in the name's column and wrap there; the state, action and ⋯ columns hold only the name's line. Columns are 16px apart (were 12px).
  • The name's line is as tall as the controls (28px), so a button never reaches into the next line.
  • Below 38rem (was 32rem), where the name's column beside three columns would be too narrow to read, the state moves under the name and the lines run under the action and ⋯ columns, as before on a phone.
  • DESIGN.md says the same.

This follows how settings tables such as GitHub's and Vercel's lay out an item: a text column with its description, then fixed status and action columns that never share space with it.

Verification: bun run fix, bun run ci, the AI accounts and design-audit unit tests (74 pass), e2e/ai-accounts.e2e.ts (14 pass), and the design suite's contrast, responsive, touch-target and specimen specs. Before and after screenshots of the design audit's AI accounts plate at 1280 and 760 were checked.

An AI accounts row put its state, its action and its menu in three fixed
columns on the name's line, but ran the lines under the name across the whole
row, under those columns. A description such as "Use OpenAI models with your
ChatGPT plan." sat right under "Not connected" and the row's Sign in, so the
columns had nothing between them, and a 24px or 28px control centred on a 20px
line reached into the line below it.

The row is now laid out as a table's: the lines stay in the name's column and
wrap there, the columns are 16px apart, and the name's line is as tall as the
controls. Where the card is narrower than 38rem, where the name's column
beside the three would be too narrow to read, the state moves under the name
and the lines run under the action and menu columns, which then hold only the
name's line.

Co-authored-by: Alex Lavaee <lavaman131@github.com>
@lavaman131
lavaman131 merged commit 605d8de into main Nov 22, 2026
26 checks passed
@lavaman131
lavaman131 deleted the ai-accounts-columns branch November 22, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant