Skip to content

Commit

Permalink
Fix regression in Spacer block (#7024)
Browse files Browse the repository at this point in the history
* Fix regression in Spacer block

There was a typo in the rename of the drag handle and associated CSS class.

* Change classnames in the CSS not the JS

The JS followed guidelines.
  • Loading branch information
jasmussen authored May 30, 2018
1 parent c1fffb1 commit eb4fc18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core-blocks/spacer/editor.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
.editor-block-list__block[data-type="core/spacer"].is-selected .editor-block-list__block-edit {
background: $light-gray-200;

.block-spacer__resize-handler-top,
.block-spacer__resize-handler-bottom {
.core-blocks-spacer__resize-handler-top,
.core-blocks-spacer__resize-handler-bottom {
display: block;
}
}

.block-spacer__resize-handler-top,
.block-spacer__resize-handler-bottom {
.core-blocks-spacer__resize-handler-top,
.core-blocks-spacer__resize-handler-bottom {
display: none;
border-radius: 50%;
border: 2px solid white;
Expand Down

0 comments on commit eb4fc18

Please sign in to comment.