Browse Source

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>
mj-v1.14.3
silverwind 2 years ago
committed by GitHub
parent
commit
173e512700
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      web_src/less/markdown/mermaid.less

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