fix: solve conflict of label class in mermaid and bootstrap

Signed-off-by: Max Wu <jackymaxj@gmail.com>
This commit is contained in:
Max Wu 2020-02-26 11:29:18 +08:00
parent edd27af26e
commit cdc8581174
1 changed files with 12 additions and 0 deletions

View File

@ -4,6 +4,18 @@
.mermaid .label {
color: #333;
}
/* workaround to solve conflict bootstrap styles */
.mermaid .label {
display: unset;
padding: unset;
font-size: unset;
font-weight: unset;
line-height: unset;
text-align: unset;
white-space: unset;
vertical-align: unset;
border-radius: unset;
}
.mermaid .node rect,
.mermaid .node circle,
.mermaid .node ellipse,