Skip to content

Commit cdc8581

Browse files
committed
fix: solve conflict of label class in mermaid and bootstrap
Signed-off-by: Max Wu <[email protected]>
1 parent edd27af commit cdc8581

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

public/css/mermaid.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@
44
.mermaid .label {
55
color: #333;
66
}
7+
/* workaround to solve conflict bootstrap styles */
8+
.mermaid .label {
9+
display: unset;
10+
padding: unset;
11+
font-size: unset;
12+
font-weight: unset;
13+
line-height: unset;
14+
text-align: unset;
15+
white-space: unset;
16+
vertical-align: unset;
17+
border-radius: unset;
18+
}
719
.mermaid .node rect,
820
.mermaid .node circle,
921
.mermaid .node ellipse,

0 commit comments

Comments
 (0)