From 434d12956e95a44f8e46561deeb09310724b3d07 Mon Sep 17 00:00:00 2001 From: Vikhyath Mondreti Date: Sun, 7 Dec 2025 22:36:10 -0800 Subject: [PATCH] fix(autolayout): reduce horizontal spacing in autolayout (#2240) --- apps/sim/lib/workflows/autolayout/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/sim/lib/workflows/autolayout/constants.ts b/apps/sim/lib/workflows/autolayout/constants.ts index 0d92258975..c932ede0a0 100644 --- a/apps/sim/lib/workflows/autolayout/constants.ts +++ b/apps/sim/lib/workflows/autolayout/constants.ts @@ -11,7 +11,7 @@ export { BLOCK_DIMENSIONS, CONTAINER_DIMENSIONS } from '@/lib/workflows/blocks/b /** * Horizontal spacing between layers (columns) */ -export const DEFAULT_HORIZONTAL_SPACING = 550 +export const DEFAULT_HORIZONTAL_SPACING = 350 /** * Vertical spacing between blocks in the same layer @@ -81,7 +81,7 @@ export const DEFAULT_LAYOUT_OPTIONS = { /** * Default horizontal spacing for containers (tighter than root level) */ -export const DEFAULT_CONTAINER_HORIZONTAL_SPACING = 400 +export const DEFAULT_CONTAINER_HORIZONTAL_SPACING = 250 /** * Container-specific layout options (tighter spacing for nested layouts)