Skip to content

Commit

Permalink
fix: style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mathuo committed Apr 28, 2022
1 parent 083ca6a commit 8f8083e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions packages/dockview/src/dnd/droptarget.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,24 @@
height: 100%;
width: 100%;
background-color: var(--dv-drag-over-background-color);

transition-duration: 0.15s;
transition-timing-function: ease-out;
transition: top 70ms ease-out,left 70ms ease-out,width 70ms ease-out,height 70ms ease-out,opacity .15s ease-out;
will-change: transform;
pointer-events: none;

&.left {
transform: translateX(-25%) scaleX(50%)
transform: translateX(-25%) scaleX(0.5)
}

&.right {
transform: translateX(25%) scaleX(50%)
transform: translateX(25%) scaleX(0.5)
}

&.top {
transform: translateY(-25%) scaleY(50%);
transform: translateY(-25%) scaleY(0.5);
}

&.bottom {
transform: translateY(25%) scaleY(50%);
transform: translateY(25%) scaleY(0.5);
}

&.small-top {
Expand Down

0 comments on commit 8f8083e

Please sign in to comment.