Skip to content

Commit

Permalink
fix(core): set graph label node height correctly (#6993)
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry committed May 15, 2019
1 parent 0ed0ab6 commit 10fbec5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export class PipelineGraphNode extends React.Component<IPipelineGraphNodeProps>
// Wrap all the label html in a foreignObject to make SVG happy
GraphLabel = (
<g transform={`translate(${labelOffsetX}, ${node.leaf && !node.executionStage ? -8 : labelOffsetY * -1})`}>
<foreignObject width={maxLabelWidth} height="34">
<foreignObject width={maxLabelWidth} height={node.height}>
{GraphLabel}
</foreignObject>
</g>
Expand Down

0 comments on commit 10fbec5

Please sign in to comment.