Skip to content

Commit

Permalink
feat: Refine min and max width for nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjon3s committed Mar 21, 2024
1 parent 596ade7 commit 0497c30
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion editor.planx.uk/src/pages/FlowEditor/floweditor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ $pixel: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAA
}

> span {
max-width: 170px;
min-width: 80px;
max-width: 200px;
overflow-wrap: break-word;
}

Expand Down Expand Up @@ -257,13 +258,17 @@ $pixel: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAA
border-color: $optionBorder;
flex-direction: column;
padding: 0;
min-width: 60px;
max-width: 200px;
}
.band {
width: 100%;
height: 12px;
border-bottom: 1px solid $optionBorder;
}
.text {
width: 100%;
text-align: center;
margin: 0;
padding: 6px 12px;
}
Expand Down

0 comments on commit 0497c30

Please sign in to comment.