summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/markdown/mermaid.less3
1 files changed, 2 insertions, 1 deletions
diff --git a/web_src/less/markdown/mermaid.less b/web_src/less/markdown/mermaid.less
index 4fc1258f03..f68b577dec 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 <body>, hide it */