Skip to content

Commit

Permalink
mermaid: make generator zoomable again #725
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Nov 25, 2023
1 parent f9f6365 commit 74a9c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exampleSite/content/basics/generator/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Eg. if your new variants file is named `theme-my-custom-variant.css`, you have t
{{% button style="secondary" icon="download" href="javascript:window.variants&&variants.getStylesheet();this.blur();" %}}Download variant{{% /button %}}
{{% button style="warning" icon="trash" href="javascript:window.variants&&variants.resetVariant();this.blur();" %}}Reset variant{{% /button %}}

<div id="R-vargenerator" class="mermaid zoom" style="background-color: var(--INTERNAL-MAIN-TEXT-color);">Graph</div>
<div id="R-vargenerator" class="mermaid zoomable" style="background-color: var(--INTERNAL-MAIN-TEXT-color);">Graph</div>

{{% button style="secondary" icon="download" href="javascript:window.variants&&variants.getStylesheet();this.blur();" %}}Download variant{{% /button %}}
{{% button style="warning" icon="trash" href="javascript:window.variants&&variants.resetVariant();this.blur();" %}}Reset variant{{% /button %}}
Expand Down

0 comments on commit 74a9c4d

Please sign in to comment.