mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-25 06:20:40 +00:00
fix: temp fix mermaid svg height (#304)
This commit is contained in:
parent
12fc429b87
commit
fbfaec50b6
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user