useMaxWidth option doesn't work with Git Graph #3651
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Describe the bug
useMaxWidth
option doesn't work with Git Graph.To Reproduce
Steps to reproduce the behavior:
mermaid.initialize({ gitGraph: { useMaxWidth: true } })
Expected behavior
width="100%"
is set in the svg tag.Screenshots
Below is an image rendered with the
useMaxWidth
option enabled.Code Sample
I modified the demo source code ( demos/git.html ) a little.
The text was updated successfully, but these errors were encountered: