Scope all css rules to .mermaid

This commit is contained in:
Tyler Long 2018-03-11 18:24:58 +08:00
parent e20528ab0d
commit be33c41a40
2 changed files with 24 additions and 22 deletions

View File

@ -1,4 +1,4 @@
.mermaid .label { .label {
font-family: 'trebuchet ms', verdana, arial; font-family: 'trebuchet ms', verdana, arial;
color: #333 color: #333
} }

View File

@ -1,3 +1,4 @@
.mermaid {
@import 'flow'; @import 'flow';
@import 'sequenceDiagram'; @import 'sequenceDiagram';
@import 'gantt'; @import 'gantt';
@ -22,3 +23,4 @@ div.mermaidTooltip {
pointer-events: none; pointer-events: none;
z-index: 100; z-index: 100;
} }
}