mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
#199 Handling path as well as rect when htmlLabels are off
This commit is contained in:
parent
1ae074d05f
commit
4339fadd50
@ -307,6 +307,9 @@ const render = function(id, _txt, cb, container) {
|
||||
)} !important; }`;
|
||||
} else {
|
||||
// console.log('classes[className].styles', classes[className].styles, cnf.htmlLabels);
|
||||
userStyles += `\n.${className} path { ${classes[className].styles.join(
|
||||
' !important; '
|
||||
)} !important; }`;
|
||||
userStyles += `\n.${className} rect { ${classes[className].styles.join(
|
||||
' !important; '
|
||||
)} !important; }`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user