This commit is contained in:
Sören Weber 2023-10-01 13:57:58 +02:00
parent 032b2556de
commit 9baa4b39bc
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -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%;