Skip to content

Commit

Permalink
fix: Visited clone styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjon3s committed Feb 4, 2025
1 parent 9670291 commit c732423
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion editor.planx.uk/src/pages/FlowEditor/floweditor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ $fontMonospace: "Source Code Pro", monospace;
&.isClone > div {
margin-top: 3px;
position: relative;
::before {
a::before {
content: "";
position: absolute;
left: -4px;
Expand All @@ -135,6 +135,12 @@ $fontMonospace: "Source Code Pro", monospace;
}
}

// Increase offset of clone styling when visit styling is also applied
&.isClone.wasVisited a::before {
left: -8px;
top: -8px;
}

&.hasFailed {
border: $nodeBorderWidth dashed red;
}
Expand Down

0 comments on commit c732423

Please sign in to comment.