logicsrc/apps/logicsrc-web
Anthony Ettinger ede7fea460 OpenIcon: the gallery must hold four colour styles, not one
The detail panel's hero was a flex row that could not wrap, and the style
tabs were a segmented group that could not shrink. Both were written when
a set had one colour style; with hq plus the three agentic styles the
later tiles fell outside the panel entirely ("Agentic Machined" and
"Agentic Emissive" rendered past the right edge) and the tab group's
min-content width dragged the whole page onto a horizontal scrollbar on
a phone.

- hero: style previews move into their own auto-fit grid that reflows,
  72px -> 64px so four fit a 24rem panel, labels wrap and centre. The
  margin-left:auto that positioned the single old tile is gone.
- toolbar: the grid column is minmax(0, 1fr) rather than auto, so no one
  unbreakable control can widen the page, and the style group scrolls
  inside its own border.

Both are sized by what the set ships, so a fifth style costs nothing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-24 12:41:45 +00:00
..
contract
e2e
public OpenIcon: a set may carry several colour styles (#209) 2026-09-24 05:26:41 -07:00
src OpenIcon: the gallery must hold four colour styles, not one 2026-09-24 12:41:45 +00:00
.gitignore
next.config.ts
package.json
playwright.config.ts
tsconfig.json
vitest.config.ts