From aa279f6410f7748749186d6022607be28c474361 Mon Sep 17 00:00:00 2001 From: Ashish Jain Date: Wed, 10 Jul 2024 11:26:16 +0200 Subject: [PATCH] fix flowchart title class --- .../mermaid/src/diagrams/flowchart/flowRenderer-v3-unified.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mermaid/src/diagrams/flowchart/flowRenderer-v3-unified.ts b/packages/mermaid/src/diagrams/flowchart/flowRenderer-v3-unified.ts index 9f28984c6..07f8034b7 100644 --- a/packages/mermaid/src/diagrams/flowchart/flowRenderer-v3-unified.ts +++ b/packages/mermaid/src/diagrams/flowchart/flowRenderer-v3-unified.ts @@ -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() );