Skip to content

Commit

Permalink
Fix canvas issues by removing VisualEditor’s height
Browse files Browse the repository at this point in the history
  • Loading branch information
stokesman committed Jul 18, 2024
1 parent 0a7e10d commit db35302
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 db35302

Please sign in to comment.