fix(panel-position): do not use margin for gaps #4431

This commit is contained in:
moklick
2025-05-12 09:55:41 +02:00
parent 822f73b621
commit ff02eeecaf
+4 -5
View File
@@ -268,14 +268,13 @@ svg.xy-flow__connectionline {
.xy-flow__panel { .xy-flow__panel {
position: absolute; position: absolute;
z-index: 5; z-index: 5;
margin: 15px;
&.top { &.top {
top: 0; top: 15px;
} }
&.bottom { &.bottom {
bottom: 0; bottom: 15px;
} }
&.top, &.top,
@@ -287,11 +286,11 @@ svg.xy-flow__connectionline {
} }
&.left { &.left {
left: 0; left: 15px;
} }
&.right { &.right {
right: 0; right: 15px;
} }
&.left, &.left,