From 52812c27a1c158d4e0f07e6c3f1612d6cf541d6c Mon Sep 17 00:00:00 2001 From: zadam Date: Thu, 14 Jul 2022 23:00:35 +0200 Subject: [PATCH] useMaxWidth for mermaid pie widget, fixes #2984 --- src/public/app/widgets/mermaid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/widgets/mermaid.js b/src/public/app/widgets/mermaid.js index 7be42e692..094fe1d3d 100644 --- a/src/public/app/widgets/mermaid.js +++ b/src/public/app/widgets/mermaid.js @@ -61,7 +61,7 @@ export default class MermaidWidget extends NoteContextAwareWidget { gantt: { useMaxWidth: false }, "class": { useMaxWidth: false }, state: { useMaxWidth: false }, - pie: { useMaxWidth: false }, + pie: { useMaxWidth: true }, journey: { useMaxWidth: false }, git: { useMaxWidth: false }, });