Skip to content

Mermaid

Wiktoria Mielcarek edited this page Nov 6, 2021 · 1 revision

Mermaid

You work on two notes and have a mermaid graph open? It has a ton of information, but too small to read? Now with this class you will no longer have this problem! The fixed min-width of a mermaid graph is 750px, which is the width of a note. So now you can scroll left and right to view your graph.

Usage

cssclass: mermaid-scroll

If you want to have the min-width be bigger, you can use this snippet:

.mermaid-scroll .mermaid {
  min-width: 750px; /* Your custom size */ 
}
Clone this wiki locally