mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 08:50:13 +02:00
Correccted bug with innen height in composite diags
This commit is contained in:
@@ -215,7 +215,7 @@ const roundedWithTitle = (parent, node) => {
|
||||
const y = node.y - node.height / 2 - halfPadding;
|
||||
const innerY = node.y - node.height / 2 - halfPadding + bbox.height + 2;
|
||||
const height = node.height + padding;
|
||||
const innerHeight = node.height + padding - bbox.height - 2;
|
||||
const innerHeight = node.height + padding - bbox.height - 6;
|
||||
const look = siteConfig.look;
|
||||
|
||||
// add the rect
|
||||
|
Reference in New Issue
Block a user