Skip to content

Commit

Permalink
Fix resizeable editor scrolling (#45189)
Browse files Browse the repository at this point in the history
* Fix resizeable editor scrolling by avoiding setting a height on the editor iframe

* Revert "Fix resizeable editor scrolling by avoiding setting a height on the editor iframe"

This reverts commit 0e19607.

* Set a max height instead of removing height from the iframe totally
  • Loading branch information
talldan authored and ockham committed Oct 25, 2022
1 parent 739b2b0 commit 219a727
Showing 1 changed file with 1 addition and 0 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 @@ -23,6 +23,7 @@

.edit-site-visual-editor__editor-canvas {
border-radius: $radius-block-ui;
max-height: 100%;
}

// To hide the horizontal scrollbar and show the drag handle on the
Expand Down

0 comments on commit 219a727

Please sign in to comment.