Skip to content

Commit

Permalink
fix: Card with, unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjon3s committed Apr 24, 2024
1 parent 80db819 commit a98cb8f
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions editor.planx.uk/src/pages/FlowEditor/floweditor.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$background: #f2f2f2;
$black: #0b0c0c;
$lineColor: #cacaca;
$nodeBorder: #0b0c0c;
$lineColor: #d0d0d0;
$nodeBorder: $black;
$optionBorder: #b1b4b6;
$hangerBackground: #f2f2f2;
$focus: #ffdd00;

$endpointWidth: 50px;
Expand Down Expand Up @@ -95,9 +95,6 @@ $pixel: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAA

.card {
position: relative;
[data-layout="top-down"] & {
width: 100%;
}

&.isDragging {
opacity: 0.3;
Expand Down Expand Up @@ -166,6 +163,15 @@ $pixel: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAA
}
}

&.type-Section {
[data-layout="top-down"] & {
width: 100%;
}
[data-layout="left-right"] & {
height: 100%;
}
}

&.type-Section::after {
content: "";
position: absolute;
Expand Down Expand Up @@ -283,7 +289,7 @@ $pixel: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAA
border-radius: $size;
color: $black;
padding: 5px;
background: $background;
background: $hangerBackground;
line-height: 1.5;

margin: $padding;
Expand Down Expand Up @@ -361,6 +367,11 @@ $pixel: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAA
display: none;
}

.category > span {
padding: 6px 12px;
background: #d0d0d0;
}

.decision,
.category {
[data-layout="top-down"] & {
Expand Down

0 comments on commit a98cb8f

Please sign in to comment.