Skip to content

Commit 434d129

Browse files
fix(autolayout): reduce horizontal spacing in autolayout (#2240)
1 parent b49b8ee commit 434d129

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/sim/lib/workflows/autolayout/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export { BLOCK_DIMENSIONS, CONTAINER_DIMENSIONS } from '@/lib/workflows/blocks/b
1111
/**
1212
* Horizontal spacing between layers (columns)
1313
*/
14-
export const DEFAULT_HORIZONTAL_SPACING = 550
14+
export const DEFAULT_HORIZONTAL_SPACING = 350
1515

1616
/**
1717
* Vertical spacing between blocks in the same layer
@@ -81,7 +81,7 @@ export const DEFAULT_LAYOUT_OPTIONS = {
8181
/**
8282
* Default horizontal spacing for containers (tighter than root level)
8383
*/
84-
export const DEFAULT_CONTAINER_HORIZONTAL_SPACING = 400
84+
export const DEFAULT_CONTAINER_HORIZONTAL_SPACING = 250
8585

8686
/**
8787
* Container-specific layout options (tighter spacing for nested layouts)

0 commit comments

Comments
 (0)