fix(ui): workflow names in the sans face

This commit is contained in:
sam committed 2026-10-18 23:46:25 +11:00
1 parent fbe0742ef6
commit f2a1aedbc2
4 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -185,7 +185,7 @@ const rate = (deliveredRuns = 0, total = 0) => (total ? deliveredRuns / total :
@click="selected = row.id"
>
<span class="flex items-baseline gap-2">
<span class="min-w-0 flex-1 truncate font-mono text-[13px]" :class="row.id === selected && 'font-medium'">{{ row.id }}</span>
<span class="min-w-0 flex-1 truncate text-[13px]" :class="row.id === selected && 'font-medium'">{{ row.id }}</span>
<Badge v-if="store.drafts.some((draft) => draft.id === row.id)" variant="outline">Draft</Badge>
<span v-if="row.avg_tokens" class="font-mono text-xs text-fg-subtle">{{ compact(row.avg_tokens) }}</span>
</span>
@@ -216,7 +216,7 @@ const rate = (deliveredRuns = 0, total = 0) => (total ? deliveredRuns / total :
<header class="mb-2 flex items-center gap-2">
<!-- Below lg the list is gone: this picks the workflow instead. -->
<div class="min-w-0 flex-1 lg:hidden"><WorkflowPicker class="w-full" :value="selected" :workflows="rows" label="Workflow" @pick="selected = $event" /></div>
<h2 class="min-w-0 truncate font-mono text-[15px] font-medium max-lg:hidden">{{ selected }}</h2>
<h2 class="min-w-0 truncate text-[15px] font-medium max-lg:hidden">{{ selected }}</h2>
<Badge v-if="provenance" variant="outline" class="shrink-0">{{ provenance }}</Badge>
<Badge v-if="drafted" variant="outline" class="shrink-0 lg:hidden">Draft</Badge>
<div class="ml-auto flex shrink-0 items-center gap-3">