diff --git a/src/public/app/widgets/mermaid.ts b/src/public/app/widgets/mermaid.ts index 84f6e11ae..af297d315 100644 --- a/src/public/app/widgets/mermaid.ts +++ b/src/public/app/widgets/mermaid.ts @@ -33,6 +33,11 @@ const TPL = `
height: 100%; text-align: center; } + + .mermaid-render svg { + max-width: 100% !important; + width: 100%; + }