chore(panel): less intrusive fix
This commit is contained in:
@@ -268,36 +268,37 @@ 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: 15px;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.bottom {
|
&.bottom {
|
||||||
bottom: 15px;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.top,
|
&.top,
|
||||||
&.bottom {
|
&.bottom {
|
||||||
&.center {
|
&.center {
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-15px) translateX(-50%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.left {
|
&.left {
|
||||||
left: 15px;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.right {
|
&.right {
|
||||||
right: 15px;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.left,
|
&.left,
|
||||||
&.right {
|
&.right {
|
||||||
&.center {
|
&.center {
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-15px) translateY(-50%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user