Mermaid-Chart / vscode-mermaid-preview

Previews Mermaid diagrams
MIT License
142 stars 15 forks source link

Minimap Overlaps diagram #95

Closed sebinjohn closed 4 years ago

sebinjohn commented 4 years ago

Expected behaviour

The minimap is restricted to a small space

graph LR
   subgraph a
      A --> B
      B --> C
      A --> C
   end
   D --> A
   A --> B
   B --> A
   A --> D
   D --> A

Actual behaviour

Minimap creeps into the actual diagram space

Include: Screen Shot 2019-12-10 at 4 55 35 pm

Preview mode: Mermaid Theme used: dark

I know a similar issue is already fixed in https://github.com/vstirbu/vscode-mermaid-preview/issues/66

Can you please add an option to turn off minimap during preview

minemax-ua commented 4 years ago

I have a similar issue. Can I turn the minimap off completely?

vstirbu commented 4 years ago

The minimap visibility is controlled via mermaid.vscode.minimap configuration.