From 584d01cf2c3e1f5946fca03e7aa9db8d6508328e Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 6 Dec 2020 04:13:31 +0100 Subject: [PATCH] Fix mermaid chart size (#13865) --- 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 */