Skip to content

Commit

Permalink
Block Editor: Show block breadcrumb on right for full align
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Apr 17, 2019
1 parent e3a9b75 commit eb4febf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@
// Position hover label on the right
> .block-editor-block-list__block-edit > .block-editor-block-list__breadcrumb {
right: -$border-width;
left: auto;
}

// Hide mover until wide breakpoints, or it might be covered by toolbar
Expand Down Expand Up @@ -459,11 +460,6 @@

// Full-wide
&[data-align="full"] {
// Position hover label on the left for the top level block.
> .block-editor-block-list__block-edit > .block-editor-block-list__breadcrumb {
left: 0;
}

// Compensate for main container padding and subtract border.
@include break-small() {
margin-left: -$block-side-ui-width - $block-padding - $block-side-ui-clearance - $border-width;
Expand Down

0 comments on commit eb4febf

Please sign in to comment.