mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 07:19:41 +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(',')) {
|
||||
thisClass.styles = [...thisClass.styles, ...s.split(',')];
|
||||
} else {
|
||||
thisClass.styles?.push(s);
|
||||
thisClass.styles.push(s);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user