mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-11 10:34:59 +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;
|
|
}
|