diff --git a/frontend/src/lib/components/assets/AssetGraph/AssetNode.svelte b/frontend/src/lib/components/assets/AssetGraph/AssetNode.svelte index 6a35a09203..ec468d53dc 100644 --- a/frontend/src/lib/components/assets/AssetGraph/AssetNode.svelte +++ b/frontend/src/lib/components/assets/AssetGraph/AssetNode.svelte @@ -406,30 +406,26 @@ {/if} {#if showAdd} - -
-
-
- - {#snippet trigger()} - +
+ + {#snippet trigger()} + - - {/snippet} - -
+ + {/snippet} +
{/if}
diff --git a/frontend/src/lib/components/assets/AssetGraph/assetGraphLayout.ts b/frontend/src/lib/components/assets/AssetGraph/assetGraphLayout.ts index 09c37cd742..2a5a0883a9 100644 --- a/frontend/src/lib/components/assets/AssetGraph/assetGraphLayout.ts +++ b/frontend/src/lib/components/assets/AssetGraph/assetGraphLayout.ts @@ -9,7 +9,7 @@ const NODE_WIDTH = NODE.width const NODE_HEIGHT = NODE.height + 30 /** Rendered height of a pipeline node: a kind label over a title. Fits inside * the `NODE_HEIGHT` row the layout reserves. */ -export const PIPELINE_NODE_HEIGHT = 44 +export const PIPELINE_NODE_HEIGHT = 48 const LAYER_GAP = NODE.gap.vertical const SIBLING_GAP = NODE.gap.horizontal // Horizontal gutter between two disjoint subgraphs. Wider than the