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 <techknowlogick@gitea.io>
tokarchuk/v1.17
silverwind 4 years ago committed by GitHub
parent 9c71c6c4a5
commit 173e512700
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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 */

Loading…
Cancel
Save