fix: temp fix mermaid svg height (#488)

This commit is contained in:
Robert Kaussow 2022-08-30 10:00:53 +02:00 committed by GitHub
parent b765bdf561
commit 2e1098d3e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,6 +192,12 @@
// {{< mermaid >}} // {{< mermaid >}}
.gdoc-mermaid { .gdoc-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;
}
} }
// {{< propertylist >}} // {{< propertylist >}}