Fix for class title label css

This commit is contained in:
Ashish Jain
2020-08-27 20:43:37 +02:00
parent 7164eaa8b1
commit b244118fd9
4 changed files with 8 additions and 5 deletions

View File

@@ -596,6 +596,7 @@ const class_box = (parent, node) => {
const classTitleLabel = labelContainer
.node()
.appendChild(createLabel(classTitleString, node.labelStyle, true, true));
select(classTitleLabel).attr('class', 'classTitle');
let classTitleBBox = classTitleLabel.getBBox();
if (getConfig().flowchart.htmlLabels) {
const div = classTitleLabel.children[0];