Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thegeeklab/hugo-geekdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sass/_shortcodes.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sass/_shortcodes.scss b/src/sass/_shortcodes.scss
index 4cc42fe..6dea13c 100644
--- a/src/sass/_shortcodes.scss
+++ b/src/sass/_shortcodes.scss
@@ -192,6 +192,12 @@
// {{< mermaid >}}
.gdoc-mermaid {
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 >}}