Skip to content

Commit

Permalink
chore: cleanup mermaid logic
Browse files Browse the repository at this point in the history
  • Loading branch information
akashchandwani committed Feb 13, 2024
1 parent 5449d15 commit 2d1e073
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions layouts/partials/mermaid.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
securityLevel: 'loose',
theme: localStorage.getItem("pref-theme") === "light" ? "light": "dark",
sankey: {
height: 400,
width: 600,
useMaxWidth: true,
linkColor: 'gradient',
nodeAlignment: 'justify',
height: 400,
width: 600,
useMaxWidth: true,
linkColor: 'gradient',
nodeAlignment: 'justify',
},
};
mermaid.initialize(config);
Expand Down

0 comments on commit 2d1e073

Please sign in to comment.