Skip to content

Commit

Permalink
Revert "Cover: Fix matrix alignment issue. (#28361)" (#28364)
Browse files Browse the repository at this point in the history
This reverts commit 1796afc.

Reason: Visually broken on the frontend

This basically gets us back to the state of Cover block styling prior to #28114.
  • Loading branch information
ockham committed Jan 21, 2021
1 parent d1cd039 commit 696548a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/block-library/src/cover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,8 @@
.wp-block-cover__image-background,
.wp-block-cover__video-background {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}

Expand Down

0 comments on commit 696548a

Please sign in to comment.