Merge pull request #89 from mathuo/88-fix-droptarget-styles

fix: style fix
This commit is contained in:
mathuo 2022-04-28 23:22:38 +01:00 committed by GitHub
commit 4936f64c0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {