mjbvz / vscode-markdown-mermaid

Adds Mermaid diagram and flowchart support to VS Code's builtin markdown preview
https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid
MIT License
640 stars 115 forks source link

Vertical Padding/Margin on long sequence diagrams is incorrect/huge #155

Closed yev-yev-yev closed 1 year ago

yev-yev-yev commented 1 year ago

How To Reproduce

  1. Make a long sequence diagram (~15+ steps)
  2. Keep adding steps
  3. Observe that padding/margin above and below the diagram increase with each new step

Additional Info: I used loop and par in this diagram, and it has 6 participants

EDIT This only happens with the GitHub Styling extension enabled - https://github.com/mjbvz/vscode-github-markdown-preview-style

mjbvz commented 1 year ago

Please share the text of a diagram that causes this issue

yev-yev-yev commented 1 year ago

It seems to be fixed with the latest updates