Skip to content

Commit

Permalink
Migrate block breadcrumb down for full/wide blocks when the movers ar…
Browse files Browse the repository at this point in the history
…e active (#15112)
  • Loading branch information
kjellr authored Apr 23, 2019
1 parent c1a36fc commit 354c1ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,11 @@
display: inline-flex;
}
}

// If the block movers are visible, push the breadcrumb down to make room for them.
.block-editor-block-mover.is-visible + .block-editor-block-list__breadcrumb {
top: (-$block-padding - $block-left-border-width - ($grid-size-small / 2));
}
}

// Wide
Expand Down

0 comments on commit 354c1ff

Please sign in to comment.