mermaidjs/mermaid-live-editor

Generated SVG file truncates labels in flow diagrams

EduardSergeev opened this issue · 2 comments

Live editor displays all text correctly:
image

But downloaded SVG file truncates the texts:
image
Tested in Chrome and Edge (same picture)

I bit of investigation: apparently online version has font-size: 14px; set for body while *.svg file has font-size: 16px; (default browser font-size?)

roji commented

Encountered this as well. In CLI-generated SVGs everything is fine.