From d03a5cdeb4a17139904e826e907f93a1349dd5a6 Mon Sep 17 00:00:00 2001 From: eti Date: Thu, 20 Aug 2026 14:22:47 +0200 Subject: [PATCH] web/pipelines: visuals nits Signed-off-by: eti --- .../repo/pipelines/PipelineCardContent.svelte | 4 +- .../PipelineWorkflows.stories.svelte | 5 + .../repo/pipelines/PipelineWorkflows.svelte | 93 ++++++++++++------- .../repo/pipelines/WorkflowLogs.svelte | 45 ++++++--- .../repo/pipelines/WorkflowSidebar.svelte | 6 +- web/src/lib/components/ui/Link.svelte | 5 +- .../workflow/[workflow]/+page.svelte | 2 +- 7 files changed, 109 insertions(+), 51 deletions(-) diff --git a/web/src/lib/components/repo/pipelines/PipelineCardContent.svelte b/web/src/lib/components/repo/pipelines/PipelineCardContent.svelte index b2195f2f..c21dc2ea 100644 --- a/web/src/lib/components/repo/pipelines/PipelineCardContent.svelte +++ b/web/src/lib/components/repo/pipelines/PipelineCardContent.svelte @@ -15,7 +15,7 @@ sha: "shrink-0 rounded-sm bg-background-inset px-2 py-0.5 typography-monospace-small text-foreground-default no-underline hover:underline", meta: "flex flex-wrap items-center justify-between text-foreground-muted", metaSub: "mr-2 flex flex-wrap items-center gap-2", - workflows: "-ml-3", + workflows: "", duration: "inline-flex items-center gap-1", durationIcon: "size-3 shrink-0" }, @@ -138,7 +138,7 @@
- + diff --git a/web/src/lib/components/repo/pipelines/PipelineWorkflows.stories.svelte b/web/src/lib/components/repo/pipelines/PipelineWorkflows.stories.svelte index 9af695a5..cb556149 100644 --- a/web/src/lib/components/repo/pipelines/PipelineWorkflows.stories.svelte +++ b/web/src/lib/components/repo/pipelines/PipelineWorkflows.stories.svelte @@ -21,6 +21,11 @@ + + + + + diff --git a/web/src/lib/components/repo/pipelines/PipelineWorkflows.svelte b/web/src/lib/components/repo/pipelines/PipelineWorkflows.svelte index 7ac8b8fe..ecb39dc3 100644 --- a/web/src/lib/components/repo/pipelines/PipelineWorkflows.svelte +++ b/web/src/lib/components/repo/pipelines/PipelineWorkflows.svelte @@ -20,7 +20,7 @@ variants: { variant: { // "2/3 workflows" with a chevron, for a card that has room to spell it out - count: { symbol: "size-3" }, + count: { symbol: "size-4" }, // the appview's pipelineSymbol: a status ring plus a bare tally symbol: { trigger: "gap-1.5" } } @@ -34,16 +34,17 @@ +{#snippet body()} + {#if Icon} +