From 8b339cc307df5c07b85d02e753614159459eaea0 Mon Sep 17 00:00:00 2001 From: Joen A <1204802+jasmussen@users.noreply.github.com> Date: Wed, 30 Sep 2020 10:38:40 +0200 Subject: [PATCH] Remove animation from mover buttons. (#25728) The animation was intended to better convey direction, and were added as an experiment. It doesn't seem successful, so let's remove it again. --- .../src/components/block-list/style.scss | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/packages/block-editor/src/components/block-list/style.scss b/packages/block-editor/src/components/block-list/style.scss index f076c0c82f28ee..fa6cec99868c33 100644 --- a/packages/block-editor/src/components/block-list/style.scss +++ b/packages/block-editor/src/components/block-list/style.scss @@ -542,32 +542,17 @@ } .block-editor-block-mover:not(.is-horizontal) { + // Position SVGs. .block-editor-block-mover-button { &.is-up-button { svg { margin-top: 2px; - transition: ease-in-out transform 0.1s; - @include reduce-motion("transition"); - } - &:focus, - &:hover { - svg { - transform: translateY(-2px); - } } } &.is-down-button { svg { margin-bottom: 3px; - transition: ease-in-out transform 0.1s; - @include reduce-motion("transition"); - } - &:focus, - &:hover { - svg { - transform: translateY(2px); - } } }