mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 06:49:47 +02:00
Adjusted fixed height settings odd
This commit is contained in:
@@ -59,11 +59,11 @@ export const rect_left_inv_arrow = async (
|
||||
polygon.selectAll('path').attr('style', nodeStyles);
|
||||
}
|
||||
|
||||
polygon.attr('transform', `translate(${-notch / 2},0)`);
|
||||
// polygon.attr('transform', `translate(${-notch / 2},0)`);
|
||||
|
||||
label.attr(
|
||||
'transform',
|
||||
`translate(${bbox.x - bbox.width / 2}, ${-(bbox.height / 2) - (bbox.y - (bbox.top ?? 0))})`
|
||||
`translate(${bbox.x - bbox.width / 2 + notch / 2}, ${-(bbox.height / 2) - (bbox.y - (bbox.top ?? 0))})`
|
||||
);
|
||||
updateNodeBounds(node, polygon);
|
||||
|
||||
|
Reference in New Issue
Block a user