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

Mindmap padding doesn't work #4867

Closed
Jovillios opened this issue Sep 24, 2023 · 1 comment
Closed

Mindmap padding doesn't work #4867

Jovillios opened this issue Sep 24, 2023 · 1 comment
Labels
Close after 30 days Close issue if no response after 30 days Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@Jovillios
Copy link

Description

When I apply "padding": 100 or "padding" : 10 in the config file, it doesn't change anything

Steps to reproduce

Make a mindmap
Apply a certain padding in the config file

Screenshots

No response

Code Sample

No response

Setup

  • Mermaid version:
  • Browser and Version: [Chrome, Edge, Firefox]

Suggested Solutions

No response

Additional Context

No response

@Jovillios Jovillios added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Sep 24, 2023
@Yokozuna59
Copy link
Member

@Jovillios I suppose that your config isn't the expected input, could please share it? Because it's working as expected, see below.

Without config:

mindmap
root
  child1
  child2
Loading

With config:

mindmap
%%{init: {"mindmap": {"padding": 1}}}%%
root
  child1
  child2
Loading

@Yokozuna59 Yokozuna59 added the Close after 30 days Close issue if no response after 30 days label Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Close after 30 days Close issue if no response after 30 days Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

2 participants