From a7209d7cbb4861d5018ebda883df5b71eeca617e Mon Sep 17 00:00:00 2001 From: Diego Imbert Date: Sun, 27 Sep 2026 01:07:44 +0200 Subject: [PATCH] style: drop the simplified node icon badge and enlarge the icon Co-Authored-By: Claude Opus 5.5 (1M context) --- .../lib/components/graph/simplified/SimplifiedNode.svelte | 8 ++++---- .../lib/components/graph/simplified/simplifiedLayout.ts | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/lib/components/graph/simplified/SimplifiedNode.svelte b/frontend/src/lib/components/graph/simplified/SimplifiedNode.svelte index 0f1e9366a1..2bd1664b88 100644 --- a/frontend/src/lib/components/graph/simplified/SimplifiedNode.svelte +++ b/frontend/src/lib/components/graph/simplified/SimplifiedNode.svelte @@ -58,15 +58,15 @@ title={data.title} >
{#if data.module} - + {:else if data.kind === 'input'} - + {:else if data.kind === 'result'} - + {/if}
diff --git a/frontend/src/lib/components/graph/simplified/simplifiedLayout.ts b/frontend/src/lib/components/graph/simplified/simplifiedLayout.ts index a97feef8df..a205791cf0 100644 --- a/frontend/src/lib/components/graph/simplified/simplifiedLayout.ts +++ b/frontend/src/lib/components/graph/simplified/simplifiedLayout.ts @@ -12,8 +12,8 @@ export const SIMPLIFIED = { minWidth: 150, maxWidth: 340, paddingX: 12, - /** The icon's badge, and the space between it and the text */ - badgeSize: 24, + /** The icon's slot, and the space between it and the text */ + badgeSize: 18, badgeGap: 10, rowHeight: 16, paddingY: 10,