Skip to content

Commit

Permalink
Fix toolbar overlap in site editor (#51810)
Browse files Browse the repository at this point in the history
* expand fixed toolbar to cover document title control

* adds the z-index code back
  • Loading branch information
draganescu authored and tellthemachines committed Jun 27, 2023
1 parent 9ee0bfd commit ac3de89
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/edit-site/src/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@
color: $gray-400;
display: flex;
flex-direction: column;

// Expand the fixed block toolbar to cover the document title control.
.block-editor-block-contextual-toolbar {
@include break-medium() {
&.is-fixed {
// the combined with of the tools at the right of the header and the margin left
width: calc(100% - 240px - #{$grid-unit-80} - #{$grid-unit-70});
}
}
}

}

.edit-site-layout__hub {
Expand Down

0 comments on commit ac3de89

Please sign in to comment.