From dc08bc80786fe3b2d985f580df9f7716a9c7a21a Mon Sep 17 00:00:00 2001 From: Joen A <1204802+jasmussen@users.noreply.github.com> Date: Mon, 3 Aug 2020 16:15:33 +0200 Subject: [PATCH] Mover control: Remove drag cursor. (#23759) --- .../block-editor/src/components/block-list/style.scss | 8 -------- .../block-editor/src/components/block-toolbar/style.scss | 5 ----- 2 files changed, 13 deletions(-) diff --git a/packages/block-editor/src/components/block-list/style.scss b/packages/block-editor/src/components/block-list/style.scss index c9cd35e092d81..39c9b93f701a2 100644 --- a/packages/block-editor/src/components/block-list/style.scss +++ b/packages/block-editor/src/components/block-list/style.scss @@ -572,14 +572,6 @@ .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button { min-width: $button-size; width: $button-size; - - [draggable="true"] & { - cursor: grab; - - &:active { - cursor: grabbing; - } - } } &.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button { diff --git a/packages/block-editor/src/components/block-toolbar/style.scss b/packages/block-editor/src/components/block-toolbar/style.scss index 63763752f08cd..ba0048508be2b 100644 --- a/packages/block-editor/src/components/block-toolbar/style.scss +++ b/packages/block-editor/src/components/block-toolbar/style.scss @@ -94,11 +94,6 @@ .block-editor-block-toolbar__block-switcher-wrapper { display: flex; - // Drag and drop is only enabled in contextual toolbars. - &:not([draggable="false"]) * { - cursor: grab; - } - .block-editor-block-switcher { display: block; }