mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-02 13:49:37 +02:00
Fix typo
This commit is contained in:
@@ -824,7 +824,7 @@ export const insertTitle = (
|
||||
parent
|
||||
.append('text')
|
||||
.text(title)
|
||||
//.attr('text-anchor', 'middle')
|
||||
.attr('text-anchor', 'middle')
|
||||
.attr('x', bounds.x + bounds.width / 2)
|
||||
.attr('y', -titleTopMargin)
|
||||
.attr('class', cssClass);
|
||||
|
Reference in New Issue
Block a user