sim icon indicating copy to clipboard operation
sim copied to clipboard

Workflow block spacing adjustment

Open emir-karabeg opened this issue 1 month ago • 2 comments

Summary

Adjusts the default spacing for newly added and duplicated workflow blocks, as well as auto-layout, to place them closer together. This change reduces the horizontal offset from 250px to 200px and centralizes these values in a new NEW_BLOCK_OFFSET constant for consistency and easier future adjustments.

Type of Change

  • [ ] Bug fix
  • [x] New feature
  • [ ] Breaking change
  • [ ] Documentation
  • [ ] Other: ___________

Testing

The changes were verified by running lint and type checks. Reviewers can observe the new block placement when duplicating blocks or adding new blocks to the canvas.

Checklist

  • [x] Code follows project style guidelines
  • [x] Self-reviewed my changes
  • [ ] Tests added/updated and passing
  • [x] No new warnings introduced
  • [x] I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Screenshots/Videos


Open in Cursor Open in Web

emir-karabeg avatar Dec 23 '25 07:12 emir-karabeg

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch. Learn more about Cursor Agents

cursor[bot] avatar Dec 23 '25 07:12 cursor[bot]

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Review Updated (UTC)
docs Skipped Skipped Dec 23, 2025 7:12am

vercel[bot] avatar Dec 23 '25 07:12 vercel[bot]