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