Skip to content

Commit

Permalink
fix: temp fix mermaid svg height (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored Aug 30, 2022
1 parent b765bdf commit 2e1098d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/sass/_shortcodes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 >}}
Expand Down

0 comments on commit 2e1098d

Please sign in to comment.