Skip to content

feat(web): give every logo in a card, a row or a tile one size, 24 px - #304

Merged
harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:feat/logo-sizes
Nov 23, 2026
Merged

harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:feat/logo-sizes

Conversation

@harenome

@harenome harenome commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #303

What

Logos had six sizes between 16 and 28 px, two of them on one builder step. They now have one.

  • Two size tokens in :root: --ic-sm (16 px) and --ic-lg (24 px).
  • A logo in a card, a table row, a choice tile, the trial head or a Settings provider is --ic-lg, image or sprite symbol, in the catalogue and in the builder.
  • The builder's #nullius-builder svg rule, which sized every svg to 16 px, now sizes only its interface icons (#nullius-builder .ic), at --ic-sm. Its icons stay 16 px; its sprite logos are no longer shrunk.
  • Every builder choice tile draws its icon at 24 px. The Isolation tiles go from 20 to 24 px. The task source tiles lose the box around the folder icon.
  • Interface icons keep their sizes. The Settings judge icons, which shared .st-logo, are pinned at their 20 px.

Touches

static (style.css, builder/command-builder.css, catalogue/catalogue.css, settings/settings.css, traces/conversation.css)

Before and after

Light theme, 1280 px, an empty profile.

Before After
1 01-before-agents-cards-1x 01-after-agents-cards-1x
2 02-before-benchmarks-cards-1x 02-after-benchmarks-cards-1x
3 03-before-builder-benchmark-1x 03-after-builder-benchmark-1x
4 04-before-builder-agent-1x 04-after-builder-agent-1x
5 05-before-builder-where-1x 05-after-builder-where-1x
6 06-before-builder-task-source-1x 06-after-builder-task-source-1x
7 07-before-settings-providers-1x 07-after-settings-providers-1x
8 08-before-builder-isolation-1x 08-after-builder-isolation-1x
  1. Agents page cards: 28 to 24 px.
  2. Benchmarks page cards: 22 to 24 px.
  3. Builder, Benchmark step: marks 16 to 24 px.
  4. Builder, Agent step (OSWorld1): the sprite logo 16 to 24 px, the badges 28 to 24 px.
  5. Builder, Where step: the host tile, unchanged.
  6. Builder, Dataset step, task source tiles: the folder icon without its box.
  7. Settings, Add a provider: 28 to 24 px.
  8. Builder, Where step, Isolation tiles: 20 to 24 px.

Verified

  • In a rootless podman python:3.12 container with Node: python3 app/tests/parallel.py: 3172 tests in 167 modules, OK. pip install -r app/requirements.txt, then python3 app/tests/parallel.py app/ui_tests: 716 tests in 61 modules, OK.
  • Chromium, light theme, 1280 px, main and this branch side by side on empty profiles: every svg and img on the Agents, Benchmarks and Settings pages and on the builder's Benchmark, Agent, Runner, Dataset and Where steps measured. Only logos and the Isolation tile icons change size. Every interface icon measured (85 distinct .ic placements) keeps its size, for example the rail's 18 px and the builder's 16 px. The Settings judge icons stay 20 px. No page errors.
  • Not checked: the trial head logo (no agent with a logo in the test profile) and the dark theme.

Risk

  • A logo drawn in a slot not listed here keeps its old size.
  • A new svg in the builder without .ic is no longer forced to 16 px; it takes its own rule's size, or the browser default without one.

The builder's catch-all svg rule drew a sprite logo at 16 px beside an
image logo at 28 px on the same step. It now sizes only the builder's
interface icons, at --ic-sm (16 px, as before), and a logo takes its
slot's size. A logo in a card, a table row, a choice tile, a trial head
or a Settings provider is now --ic-lg (24 px), whether it is an image or
a sprite symbol, in the catalogue and in the builder alike. Every
builder choice tile draws its icon at 24 px, the Isolation and
task-source tiles included, without a box of its own. Interface icons
keep the sizes they had.
@harenome
harenome merged commit c5d6cf5 into ThinkFlowLab:main Nov 23, 2026
2 checks passed
@harenome
harenome deleted the feat/logo-sizes branch November 23, 2026 10:28
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.

Web: logos in cards, rows and tiles are drawn at mixed sizes

1 participant