#1865 Additional styling fixes
This commit is contained in:
parent
7cb46ffa18
commit
9ec76f7ecb
|
@ -3,9 +3,16 @@ const getStyles = options =>
|
||||||
font-family: ${options.fontFamily};
|
font-family: ${options.fontFamily};
|
||||||
color: ${options.nodeTextColor || options.textColor};
|
color: ${options.nodeTextColor || options.textColor};
|
||||||
}
|
}
|
||||||
|
.cluster-label text {
|
||||||
|
fill: ${options.titleColor};
|
||||||
|
}
|
||||||
|
.cluster-label span {
|
||||||
|
color: ${options.titleColor};
|
||||||
|
}
|
||||||
|
|
||||||
.label text {
|
.label text,span {
|
||||||
fill: ${options.nodeTextColor || options.textColor};
|
fill: ${options.nodeTextColor || options.textColor};
|
||||||
|
color: ${options.nodeTextColor || options.textColor};
|
||||||
}
|
}
|
||||||
|
|
||||||
.node rect,
|
.node rect,
|
||||||
|
@ -55,11 +62,6 @@ const getStyles = options =>
|
||||||
stroke-width: 1px;
|
stroke-width: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cluster text,span {
|
|
||||||
fill: ${options.titleColor};
|
|
||||||
color: ${options.titleColor};
|
|
||||||
}
|
|
||||||
|
|
||||||
div.mermaidTooltip {
|
div.mermaidTooltip {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
Loading…
Reference in New Issue