Skip to content

Commit

Permalink
Edit Post: Restore flex container styling of editor content region
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Nov 26, 2019
1 parent 3230469 commit ae77d49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/edit-post/src/components/editor-regions/style.scss
Expand Up @@ -38,6 +38,11 @@
.edit-post-editor-regions__content {
flex-grow: 1;

// Treat as flex container to allow children to grow to occupy full
// available height of the content area.
display: flex;
flex-direction: column;

// On Mobile the header is fixed to keep HTML as scrollable.
@include break-medium() {
overflow: auto;
Expand Down
1 change: 0 additions & 1 deletion packages/edit-post/src/components/visual-editor/style.scss
Expand Up @@ -16,7 +16,6 @@
}
}

.edit-post-visual-editor,
.edit-post-visual-editor > .block-editor__typewriter,
.edit-post-visual-editor > .block-editor__typewriter > .block-editor-writing-flow,
.edit-post-visual-editor > .block-editor__typewriter > .block-editor-writing-flow > .block-editor-writing-flow__click-redirect {
Expand Down

0 comments on commit ae77d49

Please sign in to comment.