From c8f2c4c87a9d0337cadaa4cc98c020ac2082c9a6 Mon Sep 17 00:00:00 2001 From: Ian Jones Date: Wed, 1 May 2024 12:40:08 +0100 Subject: [PATCH] feat: Clone node margin --- .../src/pages/FlowEditor/floweditor.scss | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/editor.planx.uk/src/pages/FlowEditor/floweditor.scss b/editor.planx.uk/src/pages/FlowEditor/floweditor.scss index e110361ca5..4076e8f979 100644 --- a/editor.planx.uk/src/pages/FlowEditor/floweditor.scss +++ b/editor.planx.uk/src/pages/FlowEditor/floweditor.scss @@ -123,16 +123,19 @@ $fontMonospace: "Source Code Pro", monospace; outline-offset: 0; } - &.isClone > a::before { - content: ""; - position: absolute; - left: -4px; - top: -4px; - width: 100%; - height: 100%; - background: white; - border: $nodeBorderWidth dashed $nodeBorder; - z-index: -1; + &.isClone > a { + margin-top: 3px; + ::before { + content: ""; + position: absolute; + left: -4px; + top: -4px; + width: 100%; + height: 100%; + background: white; + border: $nodeBorderWidth dashed $nodeBorder; + z-index: -1; + } } &.hasFailed {