summaryrefslogtreecommitdiffstats
path: root/web_src/less/markdown/mermaid.less
blob: f68b577decf1330702a5171c9983da21478d9d10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.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;
}