mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-07 08:09:39 +02:00
Merge pull request #4929 from Mister-Hope/patch-1
fix(class): avoid duplicate definition of fill
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
const getStyles = (options) =>
|
const getStyles = (options) =>
|
||||||
`g.classGroup text {
|
`g.classGroup text {
|
||||||
fill: ${options.nodeBorder};
|
fill: ${options.nodeBorder || options.classText};
|
||||||
fill: ${options.classText};
|
|
||||||
stroke: none;
|
stroke: none;
|
||||||
font-family: ${options.fontFamily};
|
font-family: ${options.fontFamily};
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
|
Reference in New Issue
Block a user