fix(panel-position): do not use margin for gaps #4431
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user