fix: temp fix mermaid svg height (#304)

This commit is contained in:
Robert Kaussow 2022-08-30 21:40:45 +02:00 committed by GitHub
parent 12fc429b87
commit fbfaec50b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,4 +238,10 @@
// {{< mermaid >}} // {{< mermaid >}}
.gblog-mermaid { .gblog-mermaid {
font-family: "Liberation Sans", sans-serif; font-family: "Liberation Sans", sans-serif;
// Fix height of mermaid SVG elements (see https://github.com/mermaid-js/mermaid/issues/2481)
> svg {
height: 100%;
padding: $padding-8;
}
} }