Skip to content

Commit 173e512

Browse files
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 <[email protected]>
1 parent 9c71c6c commit 173e512

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)