mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-24 18:56:11 +01:00
173e512700
* 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>
14 lines
283 B
Plaintext
14 lines
283 B
Plaintext
.mermaid-chart {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
margin: 1rem auto;
|
|
height: auto;
|
|
}
|
|
|
|
/* mermaid's errorRenderer seems to unavoidably spew stuff into <body>, hide it */
|
|
body > div[id*="mermaid-"] {
|
|
display: none !important;
|
|
}
|