mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-26 02:39:41 +02:00
Fix for issue #311, mermaid will clear div used for rendering initially in the redner function.
This commit is contained in:
@@ -8,9 +8,11 @@
|
||||
<script>
|
||||
mermaid.initialize({
|
||||
sequenceDiagram:{
|
||||
mirrorActors:true,
|
||||
mirrorActors:false,
|
||||
height:35,
|
||||
topPadding:125
|
||||
topPadding:125,
|
||||
useMaxWidth:false
|
||||
|
||||
},
|
||||
logLevel:1
|
||||
|
||||
@@ -31,7 +33,7 @@
|
||||
|
||||
<div class="mermaid">
|
||||
sequenceDiagram
|
||||
Merchant->>Customer: foo
|
||||
Merchant->>Customer: "foo#b"
|
||||
Note left of Person:One row for the a
|
||||
Note right of Person: Bob thinks a long long time, so long that the text does not fit In a row. Bob thinks a long long time, so long that the text does not fit In a row. Bob thinks a long long time, so long that the text does not fit In a row. Bob thinks a long long time, so long that the text does not fit In a row.
|
||||
|
||||
|
Reference in New Issue
Block a user