Skip to content

Commit

Permalink
#5237 Fix for issue with styling rectWithTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
knsv committed Aug 1, 2024
1 parent c4ce854 commit aa24229
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export const rectWithTitle = async (parent: SVGElement, node: Node) => {
innerLine = g.insert('line');
rect
.attr('class', 'outer title-state')
.attr('style', nodeStyles)
.attr('x', -bbox.width / 2 - halfPadding)
.attr('y', -bbox.height / 2 - halfPadding)
.attr('width', bbox.width + (node.padding || 0))
Expand Down

0 comments on commit aa24229

Please sign in to comment.