Skip to content

Commit

Permalink
Fix double scrollbars in site editor with zoom out view enabled (#61548)
Browse files Browse the repository at this point in the history
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: mikachan <[email protected]>
Co-authored-by: youknowriad <[email protected]>
  • Loading branch information
4 people authored May 10, 2024
1 parent 550cb6b commit 90e3d43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/edit-site/src/components/block-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
.edit-site-visual-editor {
position: relative;
height: 100%;
overflow: hidden;
display: block;
background-color: $gray-300;
// Centralize the editor horizontally (flex-direction is column).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ html.interface-interface-skeleton__html-container {
width: 100%;

@include break-medium() {
position: initial;
width: initial;
&:not(:has(.is-zoom-out)) {
position: initial;
width: initial;
}
}
}

Expand Down

0 comments on commit 90e3d43

Please sign in to comment.