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>
release/v1.15
silverwind 2020-12-06 04:05:22 +01:00 committed by GitHub
parent 9c71c6c4a5
commit 173e512700
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
padding: 1rem; padding: 1rem;
margin: 1rem 0; margin: 1rem auto;
height: auto;
} }
/* mermaid's errorRenderer seems to unavoidably spew stuff into <body>, hide it */ /* mermaid's errorRenderer seems to unavoidably spew stuff into <body>, hide it */