From 8f8083e835b3784447d5fc348df7b52814f36a49 Mon Sep 17 00:00:00 2001 From: mathuo <6710312+mathuo@users.noreply.github.com> Date: Thu, 28 Apr 2022 23:15:28 +0100 Subject: [PATCH] fix: style fix --- packages/dockview/src/dnd/droptarget.scss | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/packages/dockview/src/dnd/droptarget.scss b/packages/dockview/src/dnd/droptarget.scss index 5655270f0..2e31aff4a 100644 --- a/packages/dockview/src/dnd/droptarget.scss +++ b/packages/dockview/src/dnd/droptarget.scss @@ -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 {