Skip to content

Commit

Permalink
Move height back.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Jan 22, 2021
1 parent e4dee72 commit 2543962
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/block-library/src/cover/editor.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.wp-block-cover {
height: 100%; // This explicit height rule is necessary for the focal point picker to work.

// Override default cover styles
// because we're not ready yet to show the cover block.
&.is-placeholder {
Expand Down
1 change: 0 additions & 1 deletion packages/block-library/src/cover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
background-position: center center;
min-height: 430px;
width: 100%;
height: 100%; // This explicit height rule is necessary for the focal point picker to work.
display: flex;
justify-content: center;
align-items: center;
Expand Down

0 comments on commit 2543962

Please sign in to comment.