Skip to content

Commit

Permalink
Updates to move Block focus indicator line closer to selected Block
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Nov 13, 2019
1 parent eb2bca1 commit 7ce68cf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/block-editor/src/components/inner-blocks/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,14 @@
margin-right: 0;
}
}

// When inner block toolbars are being "consumed" by the root Block then
// the extra spacing on the overlay is no longer required
.block-editor-inner-blocks.is-consuming-toolbars .block-editor-block-list__block-edit {
&::before {
top: 0;
right: 0;
bottom: 0;
left: 0;
}
}

0 comments on commit 7ce68cf

Please sign in to comment.