fix: style fix

This commit is contained in:
mathuo 2022-04-28 23:15:28 +01:00
parent 083ca6a8fb
commit 8f8083e835
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -15,26 +15,24 @@
height: 100%; height: 100%;
width: 100%; width: 100%;
background-color: var(--dv-drag-over-background-color); background-color: var(--dv-drag-over-background-color);
transition: top 70ms ease-out,left 70ms ease-out,width 70ms ease-out,height 70ms ease-out,opacity .15s ease-out;
transition-duration: 0.15s;
transition-timing-function: ease-out;
will-change: transform; will-change: transform;
pointer-events: none; pointer-events: none;
&.left { &.left {
transform: translateX(-25%) scaleX(50%) transform: translateX(-25%) scaleX(0.5)
} }
&.right { &.right {
transform: translateX(25%) scaleX(50%) transform: translateX(25%) scaleX(0.5)
} }
&.top { &.top {
transform: translateY(-25%) scaleY(50%); transform: translateY(-25%) scaleY(0.5);
} }
&.bottom { &.bottom {
transform: translateY(25%) scaleY(50%); transform: translateY(25%) scaleY(0.5);
} }
&.small-top { &.small-top {