Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird spacing on simple layout #201

Closed
stolksdorf opened this issue May 11, 2023 · 1 comment
Closed

Weird spacing on simple layout #201

stolksdorf opened this issue May 11, 2023 · 1 comment

Comments

@stolksdorf
Copy link
Contributor

Tried a pretty simple node and it's rendering a little weird.

#.test: underline
[<test> Operations
	[op1] ->
    [op2] ->
    [op3]
]

image

The three subnodes are not centered and the top subnode gets rendered really close to the container title, while having ample space at the bottom.

If I make the container name smaller, eg. "Ops", the horizontal spacing works, but the vertical is still off.

@skanaar
Copy link
Owner

skanaar commented May 12, 2023

The text "Operations" and the [op1] nodes are all in the same partition.
Add a "|" separator after "Operations".

You might be looking for this instead:

[Operations| // note this vertical bar
  [op1] -> [op2] -> [op3]
]

@skanaar skanaar closed this as completed May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants