Skip to content

Commit

Permalink
Fix mermaid chart size (#13863)
Browse files Browse the repository at this point in the history
* 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 <techknowlogick@gitea.io>
  • Loading branch information
silverwind and techknowlogick committed Dec 6, 2020
1 parent 9c71c6c commit 173e512
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web_src/less/markdown/mermaid.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 173e512

Please sign in to comment.