Skip to content

Commit

Permalink
Fix canvas issues by removing VisualEditor’s height (WordPress#63724)
Browse files Browse the repository at this point in the history
Unlinked contributors: wp-seopress.

Co-authored-by: t-hamano <[email protected]>
Co-authored-by: carolinan <[email protected]>
  • Loading branch information
3 people authored Jul 22, 2024
1 parent a23699c commit 39edce5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 0 additions & 5 deletions packages/edit-post/src/components/layout/style.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
.edit-post-visual-editor:not(.is-iframed) {
flex: 1 0 auto;
height: auto;
}

.edit-post-layout__metaboxes {
flex-shrink: 0;
clear: both;
Expand Down
4 changes: 4 additions & 0 deletions packages/editor/src/components/editor-interface/style.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.editor-editor-interface .entities-saved-states__panel-header {
height: $header-height + $border-width;
}

.editor-visual-editor {
flex: 1 0 auto;
}
1 change: 0 additions & 1 deletion packages/editor/src/components/visual-editor/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.editor-visual-editor {
position: relative;
height: 100%;
display: block;
background-color: $gray-300;
// Make this a stacking context to contain the z-index of children elements.
Expand Down

0 comments on commit 39edce5

Please sign in to comment.