Skip to content

fix(agenda): give the speakers on a phone the size and ink they need - #340

Merged
ryzizub merged 2 commits into
2026from
claude/agenda-mobile-speakers
Sep 8, 2026
Merged

fix(agenda): give the speakers on a phone the size and ink they need#340
ryzizub merged 2 commits into
2026from
claude/agenda-mobile-speakers

Conversation

@ryzizub

@ryzizub ryzizub commented Sep 8, 2026

Copy link
Copy Markdown
Member

Summary

On a phone the agenda is the time-ordered list, and each row ends with a line reading Abdel Sghiouar · The Big Track. That line was set at --fs-label (0.78rem) with every word in --color-grey, sitting under a Bebas title at --fs-row-sm — so the one line that says who is talking was the smallest and dimmest thing in the row, and it is also what tells two parallel talks at the same time apart.

Behavior

  • The meta line takes the UI step (--fs-ui, 0.95rem — 12.5px → 15.2px), with letter-spacing eased 0.04em → 0.02em now that it carries more type.
  • The speakers take --color-cream; the room stays --color-grey beside them. The names are what a visitor scans for, the room is the aside.
  • The mugshots go 26px → 34px in a list row. 26 is sized for the tightest cell on the desktop sheet; a list row has width the grid does not, and the photo was smaller than the type beside it.

Desktop is untouched — the grid's own .cellFoot keeps 26px photos and --fs-label speakers, where the cell is dense and the room is a column heading rather than part of the line.

Verification

  • Mobile list at 320 / 375 / 430 / 768 px: meta line 15.2px, names #E8E0CC, photos 34px, no horizontal scroll.
  • Desktop grid at 1440 px unchanged: 26px photos, 12.48px speakers, no cell overflowing its slot.
  • npm run build and npm run a11y pass.

Files

  • src/components/Agenda.tsx — the speakers get their own span so the room can stay the quieter half of the line
  • src/components/Agenda.module.scss.itemMeta, new .itemNames, list-row avatar size

🤖 Generated with Claude Code

ryzizub and others added 2 commits September 8, 2026 08:55
In the mobile list a row's last line reads "Abdel Sghiouar · The Big Track", and
it was set at `--fs-label` (0.78rem) with every word in `--color-grey`, under a
Bebas title running at `--fs-row-sm`. So the one line that says WHO is talking
was the smallest and dimmest thing in the row — on a phone, where that line is
also what separates two parallel talks at the same time, it barely registered.

- The line takes the UI step (`--fs-ui`), with the letter-spacing eased from
  0.04em to 0.02em now that it is carrying more type.
- The speakers take `--color-cream`; the room stays `--color-grey` beside them.
  The names are what the visitor is scanning for, the room is the aside.
- The mugshots go 26px → 34px in a list row. 26 is sized for the tightest cell on
  the desktop sheet; a list row has width the grid does not, and the photo sat
  smaller than the type next to it.

Desktop is untouched: the grid's own `.cellFoot` keeps 26px photos and
`--fs-label` speakers, where the cell is dense and the room is a column heading
rather than part of the line.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Following the first pass, two things were still wrong on a phone.

**The time was a range on one line**, wrapping wherever it happened to run out
of room, and the column was sized for two clocks side by side (`min(5.5rem,
27.5vw)`). It is set as start over end now, always — the dash stays on the first
line so the text content is still `09:50–10:30` and a screen reader reads a
range, not two loose numbers. One clock wide instead of two gives the title back
about 30px of a 375px viewport, and the times read as a column down the page, so
finding what is on at two is one eye movement.

**The speakers were still small.** Mono sets small for its nominal size, so the
meta line takes `--fs-lede` rather than `--fs-ui` (15.2px → 19.2px) and the
mugshots go 34px → 40px to match.

The room moved out from beside the names onto its own line under them, at
`--fs-ui` in `--color-grey`: joined by a dot, "Abdel Sghiouar · The Big Track"
wrapped mid-phrase at that size, which is exactly where the line does its work.
`.itemFoot` aligns to `flex-start` so the photo sits beside the names rather than
floating between the two lines.

Desktop is untouched: 26px photos, `--fs-label` speakers, no cell overflowing.

Verified at 320 / 375 / 430 / 768 / 1024 and at a 32px root: times on two lines
everywhere, nothing clipped inside a row, no horizontal scroll, tap targets over
44px. `npm run build` and `npm run a11y` pass.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@ryzizub
ryzizub merged commit cd630f8 into 2026 Sep 8, 2026
2 checks passed
@ryzizub
ryzizub deleted the claude/agenda-mobile-speakers branch September 8, 2026 07:02
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