Skip to content

Commit

Permalink
fix: when dragging a Part to "become a transparent group", the size o…
Browse files Browse the repository at this point in the history
…f the target-placeholder should not take up any vertical space.

Since that can cause wiggling. closes #61
  • Loading branch information
nytamin committed Aug 23, 2022
1 parent a134920 commit bcc5399
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/app/src/react/styles/group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ $margin-v: 2rem;

&--transparent {
margin: $margin-v 0;

.part.dragging {
padding: 0;
margin-top: calc(0px - 2rem);
top: 1rem;
}
}
&.selectable {
cursor: pointer;
Expand Down

0 comments on commit bcc5399

Please sign in to comment.