From 5f125bb6ce8c46f30ceab4cf0978da4a5b43767b Mon Sep 17 00:00:00 2001 From: Bernie Reiter Date: Wed, 20 Jan 2021 20:47:13 +0100 Subject: [PATCH] Revert "Cover: Fix matrix alignment issue. (#28361)" This reverts commit 1796afcc277c3f457904fd616c80fa903f3c74ea. --- packages/block-library/src/cover/style.scss | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/block-library/src/cover/style.scss b/packages/block-library/src/cover/style.scss index babccb49bf5c0..fc9f05941b56e 100644 --- a/packages/block-library/src/cover/style.scss +++ b/packages/block-library/src/cover/style.scss @@ -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; }