mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-09-08 20:58:35 +02:00
- Add loading spinners on editor and mermaid renderers - Add error handling and inline error box for mermaid - Fix Mermaid rendering by using the .init api
12 lines
276 B
Text
12 lines
276 B
Text
.mermaid-chart {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
/* mermaid's errorRenderer seems to unavoidably spew stuff into <body>, hide it */
|
|
body > div[id*="mermaid-"] {
|
|
display: none !important;
|
|
}
|