2020-08-05 03:56:37 +08:00
|
|
|
.mermaid-chart {
|
2020-08-26 03:48:53 +08:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
padding: 1rem;
|
2020-12-06 11:05:22 +08:00
|
|
|
margin: 1rem auto;
|
|
|
|
height: auto;
|
2020-08-05 03:56:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* mermaid's errorRenderer seems to unavoidably spew stuff into <body>, hide it */
|
|
|
|
body > div[id*="mermaid-"] {
|
2020-08-26 03:48:53 +08:00
|
|
|
display: none !important;
|
2020-08-05 03:56:37 +08:00
|
|
|
}
|