developer-roadmap icon indicating copy to clipboard operation
developer-roadmap copied to clipboard

Common alignment of the community roadmap is lost in editor mode

Open steindvart opened this issue 10 months ago • 1 comments

What is the URL where the issue is happening

https://roadmap.sh/r/c-extended

What browsers are you seeing the problem on?

Chrome

Describe the Bug

  1. Open your community roadmap in editor mode.
  2. Make required alignment of whole map.

Image

  1. Save roadmap.
  2. Reload page.
  3. Made alignment was broken.

Image

  1. This happens every time, and you cannot make alignment as you require.

Output from browser console (if any)

No response

Participation

  • [ ] I am willing to submit a pull request for this issue.

steindvart avatar May 06 '25 14:05 steindvart

I found that this behavior is associated with the automatic alignment of all elements along the recommended left border (highlighted with a gray dotted line). That is, the common alignment will always occur relative to the leftmost element along the recommended left border.

It is clear why this behavior was done. But I still want to manage the alignment more flexibly.

Alternatively, you can make a special flag in the editor that will disable this automatic alignment to the recommended left border.

steindvart avatar May 07 '25 08:05 steindvart

It's intentional we don't save the position of the marker, we recommend the creator align the nodes according to the border.

arikchakma avatar May 28 '25 03:05 arikchakma