diff --git a/packages/edit-post/src/components/layout/style.scss b/packages/edit-post/src/components/layout/style.scss index b59009e80f0fd3..5fdaceaa002be9 100644 --- a/packages/edit-post/src/components/layout/style.scss +++ b/packages/edit-post/src/components/layout/style.scss @@ -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; diff --git a/packages/editor/src/components/editor-interface/style.scss b/packages/editor/src/components/editor-interface/style.scss index e7e0a93af20906..77f621acc93510 100644 --- a/packages/editor/src/components/editor-interface/style.scss +++ b/packages/editor/src/components/editor-interface/style.scss @@ -1,3 +1,7 @@ .editor-editor-interface .entities-saved-states__panel-header { height: $header-height + $border-width; } + +.editor-visual-editor { + flex: 1 0 auto; +} diff --git a/packages/editor/src/components/visual-editor/style.scss b/packages/editor/src/components/visual-editor/style.scss index b7fbf882a897ba..2d7ed665a957f3 100644 --- a/packages/editor/src/components/visual-editor/style.scss +++ b/packages/editor/src/components/visual-editor/style.scss @@ -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.