Skip to content

Commit

Permalink
Mover control: Remove drag cursor. (#23759)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen authored and youknowriad committed Aug 3, 2020
1 parent 2991fd7 commit dc08bc8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
8 changes: 0 additions & 8 deletions packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
5 changes: 0 additions & 5 deletions packages/block-editor/src/components/block-toolbar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit dc08bc8

Please sign in to comment.