#1865 Additional styling fixes

This commit is contained in:
Knut Sveidqvist 2021-01-24 08:31:16 +01:00
parent 7cb46ffa18
commit 9ec76f7ecb
1 changed files with 8 additions and 6 deletions

View File

@ -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;