y-takey / atom-mermaid

Preview mermaid on atom editor
MIT License
42 stars 7 forks source link

Big vertical margins, "useMaxWidth": false #73

Closed tfmotu closed 3 years ago

tfmotu commented 3 years ago

Hi y-takey, firstly thanks to develop this package. I have a problem related to sequence diagram margins. Vertical margins are too big. Here is a post that solve the issue: https://github.com/mermaid-js/mermaid/issues/1758

The problem is that I do not known how/where change the value ("useMaxWidth": false) in the package...sorry about that, I am a newbie... Thanks in advance.

tfmotu commented 3 years ago

Hi, it is done, file modified -> mermaid_config.js. This is the file content with the modification to the sequenceDiagram: MERMAID_CONFIG = { startOnLoad: false, "sequenceDiagram": { "useMaxWidth": false } } sorry about the opened issue.