diff --git a/frontend/src/lib/components/flows/map/FlowModuleSchemaMap.svelte b/frontend/src/lib/components/flows/map/FlowModuleSchemaMap.svelte index 50414cf835..69997dac88 100644 --- a/frontend/src/lib/components/flows/map/FlowModuleSchemaMap.svelte +++ b/frontend/src/lib/components/flows/map/FlowModuleSchemaMap.svelte @@ -529,7 +529,7 @@ /> -
+
n.position.y)) const maxBottom = Math.max(...nodes.map((n) => n.position.y + NODE.height + 100)) - height = Math.max(maxBottom - minY, minHeight) + const computed = maxBottom - minY + height = Math.max(Math.min(computed, maxHeight ?? computed), minHeight) } }