mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
Update packages/mermaid/src/diagrams/class/classDb.ts
Co-authored-by: Alois Klink <alois@mermaidchart.com>
This commit is contained in:
@@ -466,7 +466,7 @@ export const setCssStyle = function (id: string, styles: string[]) {
|
|||||||
if (s.includes(',')) {
|
if (s.includes(',')) {
|
||||||
thisClass.styles = [...thisClass.styles, ...s.split(',')];
|
thisClass.styles = [...thisClass.styles, ...s.split(',')];
|
||||||
} else {
|
} else {
|
||||||
thisClass.styles?.push(s);
|
thisClass.styles.push(s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user