Padding on labels #883
Labels
Area: Development
Graph: Flow
Status: Pending
Is not to be executed as it currently is
Type: Bug / Error
Something isn't working or is incorrect
Describe the bug
Prior to v8.1.0 it was possible to define
.label div { padding: 6px 22px; }
to add some padding around labels. The width and the height of the<foreignObject>
around it was calculated accordingly. As of v8.1.0 the text is pushed outside of the node element if the padding is too large.To Reproduce
Steps to reproduce the behavior:
dark
theme andthemeCSS: '.label div { padding: 30px 30px; }'
Expected behavior
Ideally it should be the same as it was with v8.0.0 and below, the size of the node is calculated so that it can contain a label with padding.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: