Skip to content

Commit

Permalink
Remove mover min-height and multi select top border
Browse files Browse the repository at this point in the history
This commit removes the min-height that made the up/down mover extra tall even when there was no drag handle. It did not appear necessary.

Additionally it removes the top border from multi selections and relies on the left border. Will add additional context in a comment.
  • Loading branch information
Joen Asmussen authored and ellatrix committed Oct 4, 2019
1 parent cac2c20 commit 9832732
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,6 @@
}
}
}

&.is-multi-selected-first > .block-editor-block-list__block-edit::before {
border-top-color: $dark-opacity-light-800;
}
}

// Hover style.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.block-editor-block-mover {

@include break-small() {
min-height: $empty-paragraph-height;
opacity: 0;
background: $white;
border: 1px solid $dark-opacity-light-800;
Expand Down

0 comments on commit 9832732

Please sign in to comment.