mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
mermaid: #656
This commit is contained in:
parent
032b2556de
commit
9baa4b39bc
1 changed files with 7 additions and 2 deletions
|
@ -1319,10 +1319,15 @@ html[dir="rtl"] .expand > .expand-label > i.fa-chevron-right {
|
||||||
|
|
||||||
.mermaid {
|
.mermaid {
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
display: inline;
|
/* don't use display: none, as this will cause no renderinge by Mermaid */
|
||||||
|
visibility: hidden;
|
||||||
padding: .5rem .5rem 0 .5rem;
|
padding: .5rem .5rem 0 .5rem;
|
||||||
}
|
}
|
||||||
.mermaid.zoom {
|
.mermaid.mermaid-render {
|
||||||
|
display: inline;
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
.mermaid.mermaid-render.zoom {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
Loading…
Reference in a new issue