From 173e512700f13cb91141c357fd066d9cbc7094bb Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 6 Dec 2020 04:05:22 +0100 Subject: [PATCH] Fix mermaid chart size (#13863) * Fix mermaid chart size Seems like one of the recent updates to the module unexpectedly shrunk these charts, bring them back up to full width. * don't stretch to full width Co-authored-by: techknowlogick --- web_src/less/markdown/mermaid.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web_src/less/markdown/mermaid.less b/web_src/less/markdown/mermaid.less index 4fc1258f0..f68b577de 100644 --- a/web_src/less/markdown/mermaid.less +++ b/web_src/less/markdown/mermaid.less @@ -3,7 +3,8 @@ justify-content: center; align-items: center; padding: 1rem; - margin: 1rem 0; + margin: 1rem auto; + height: auto; } /* mermaid's errorRenderer seems to unavoidably spew stuff into , hide it */