mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-16 02:09:18 +08: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;
|
|
}
|