Skip to content

Commit

Permalink
Remove unnecessary negattive margins on the block toolbar.
Browse files Browse the repository at this point in the history
These were only included in focus mode, and end up causing overlap with the block mover butons.
  • Loading branch information
kjellr committed Apr 22, 2019
1 parent 5c121c4 commit ecc932f
Showing 1 changed file with 0 additions and 4 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 @@ -904,10 +904,6 @@
}
}

.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar {
margin-left: -$block-side-ui-width;
}

// Enable toolbar footprint collapsing
.block-editor-block-contextual-toolbar {
// Position the contextual toolbar above the block.
Expand Down

0 comments on commit ecc932f

Please sign in to comment.