Skip to content

Commit 584d01c

Browse files
authored
Fix mermaid chart size (#13865)
1 parent 798fdea commit 584d01c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web_src/less/markdown/mermaid.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
justify-content: center;
44
align-items: center;
55
padding: 1rem;
6-
margin: 1rem 0;
6+
margin: 1rem auto;
7+
height: auto;
78
}
89

910
/* mermaid's errorRenderer seems to unavoidably spew stuff into <body>, hide it */

0 commit comments

Comments
 (0)