mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-20 07:49:43 +02:00
#1029 Linting fixes
This commit is contained in:
@@ -436,9 +436,9 @@ export const drawEdge = function(elem, path, relation) {
|
||||
}
|
||||
|
||||
if (rows.length > 1) {
|
||||
const heightAdj = rows.length * titleHeight * 0.25;
|
||||
const heightAdj = rows.length * titleHeight * 0.25;
|
||||
|
||||
titleRows.forEach((title, i) => title.attr('y', y + i * titleHeight - heightAdj));
|
||||
titleRows.forEach((title, i) => title.attr('y', y + i * titleHeight - heightAdj));
|
||||
}
|
||||
|
||||
const bounds = label.node().getBBox();
|
||||
|
Reference in New Issue
Block a user