mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
fix flowchart title class
This commit is contained in:
parent
fe22a5f7b3
commit
aa279f6410
@ -52,7 +52,7 @@ export const draw = async function (text: string, id: string, _version: string,
|
||||
const padding = data4Layout.config.flowchart?.padding ?? 8;
|
||||
utils.insertTitle(
|
||||
element,
|
||||
'statediagramTitleText',
|
||||
'flowchartTitleText',
|
||||
conf?.titleTopMargin || 0,
|
||||
diag.db.getDiagramTitle()
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user