Skip to content

Commit

Permalink
Move to right component.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joen Asmussen committed Nov 22, 2019
1 parent b153374 commit 2a0ee55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/edit-post/src/components/layout/style.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
// This min-height is there to ensure the editing canvas extends at least to the full height available.
// This ensures a theme that uses a background color other than white doesn't look cropped without content.
.edit-post-visual-editor {
min-height: 100%;
}

.edit-post-layout__metaboxes {
flex-shrink: 0;
}
Expand Down
4 changes: 4 additions & 0 deletions packages/edit-post/src/components/visual-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
@supports (position: sticky) {
flex-basis: 100%;
}

// This min-height is there to ensure the editing canvas extends at least to the full height available.
// This ensures a theme that uses a background color other than white doesn't look cropped without content.
min-height: 100%;
}

.edit-post-visual-editor .block-editor-writing-flow__click-redirect {
Expand Down

0 comments on commit 2a0ee55

Please sign in to comment.