Skip to content

Commit

Permalink
feat: Clone node margin
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjon3s committed May 1, 2024
1 parent 16d0762 commit c8f2c4c
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions editor.planx.uk/src/pages/FlowEditor/floweditor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c8f2c4c

Please sign in to comment.