From ff02eeecaf693cad70589bc92e7ecb364397a7b9 Mon Sep 17 00:00:00 2001 From: moklick Date: Mon, 12 May 2025 09:55:41 +0200 Subject: [PATCH] fix(panel-position): do not use margin for gaps #4431 --- packages/system/src/styles/init.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/system/src/styles/init.css b/packages/system/src/styles/init.css index ca4d6de7..ad364dba 100644 --- a/packages/system/src/styles/init.css +++ b/packages/system/src/styles/init.css @@ -268,14 +268,13 @@ svg.xy-flow__connectionline { .xy-flow__panel { position: absolute; z-index: 5; - margin: 15px; &.top { - top: 0; + top: 15px; } &.bottom { - bottom: 0; + bottom: 15px; } &.top, @@ -287,11 +286,11 @@ svg.xy-flow__connectionline { } &.left { - left: 0; + left: 15px; } &.right { - right: 0; + right: 15px; } &.left,