Skip to content

Commit

Permalink
Fix Cover focal point picker. (#28350)
Browse files Browse the repository at this point in the history
* Fix Cover focal point picker.

* Remove overflow.
  • Loading branch information
jasmussen authored and ockham committed Jan 20, 2021
1 parent b1dd518 commit d71c3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/cover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
position: relative;
background-size: cover;
background-position: center center;
overflow: hidden;
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 d71c3d0

Please sign in to comment.