diff --git a/packages/ui/client/src/pages/ExperimentPage.vue b/packages/ui/client/src/pages/ExperimentPage.vue index 21f3c09..68e4c0b 100644 --- a/packages/ui/client/src/pages/ExperimentPage.vue +++ b/packages/ui/client/src/pages/ExperimentPage.vue @@ -80,11 +80,12 @@ const isPartial = (run: (typeof runs.value)[number]) => run.state !== 'running' /** * Grid of a run row. Wide screens: one line with select, attempt, run, duration, cases, headline score, menu (the * header uses the same columns). Narrow screens: select, attempt, score, and menu on the first line, the run and its - * duration below the attempt, then the cases. + * duration below the attempt, then the cases. The score column fits a typical headline (`100.0% Correct and natural`); + * a longer label truncates inside it instead of spilling over the case bar. */ const rowGrid = [ 'grid items-center gap-x-3 gap-y-1.5 grid-cols-[1rem_minmax(0,1fr)_auto_1.75rem]', - 'md:(gap-x-4 grid-cols-[1rem_minmax(14rem,1.6fr)_minmax(9rem,1fr)_5rem_minmax(12rem,2fr)_8rem_1.75rem])', + 'md:(gap-x-4 grid-cols-[1rem_minmax(14rem,1.6fr)_minmax(9rem,1fr)_5rem_minmax(12rem,2fr)_minmax(8rem,12rem)_1.75rem])', ] const selected = shallowRef([]) function duration(run: { endedAt?: string, startedAt?: string }): number | undefined { @@ -171,7 +172,7 @@ watch([() => props.attempt, () => attempts.value.length], async ([attempt]) => { {{ run.counts.total }} / {{ run.caseTotal }} - +