mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-26 10:49:38 +02:00
Wit
This commit is contained in:
5
dist/www/javascripts/lib/mermaid.js
vendored
5
dist/www/javascripts/lib/mermaid.js
vendored
@@ -32197,9 +32197,6 @@ exports.getClasses = function (text, isDot) {
|
||||
// Parse the graph definition
|
||||
parser.parse(text);
|
||||
|
||||
var classDefStylesObj = {};
|
||||
var classDefStyleStr = '';
|
||||
|
||||
var classes = graph.getClasses();
|
||||
|
||||
// Add default class if undefined
|
||||
@@ -38236,7 +38233,7 @@ module.exports.cloneCssStyles = function(svg, classes){
|
||||
}
|
||||
} else {
|
||||
if (classes[className].styles instanceof Array) {
|
||||
embeddedStyles += "#" + svg.id.trim() + ' .' + className + ' { ' + classes[className].styles.join("; ") + '; }\n';
|
||||
embeddedStyles += "#" + svg.id.trim() + ' .' + className + '>rect { ' + classes[className].styles.join("; ") + '; }\n';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user