From 6865df6542dd154e9cb61599655d4aeb9ebcf1b1 Mon Sep 17 00:00:00 2001 From: jasmussen Date: Wed, 20 Jan 2021 11:10:00 +0100 Subject: [PATCH 1/2] Fix Cover focal point picker. --- packages/block-library/src/cover/style.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/cover/style.scss b/packages/block-library/src/cover/style.scss index e30fd09a70fbf..9534f4833aadb 100644 --- a/packages/block-library/src/cover/style.scss +++ b/packages/block-library/src/cover/style.scss @@ -6,6 +6,7 @@ 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; From dc437a83ed35a996a8626222af4c37e73c8e2789 Mon Sep 17 00:00:00 2001 From: jasmussen Date: Wed, 20 Jan 2021 18:36:32 +0100 Subject: [PATCH 2/2] Remove overflow. --- packages/block-library/src/cover/style.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/block-library/src/cover/style.scss b/packages/block-library/src/cover/style.scss index 9534f4833aadb..fc9f05941b56e 100644 --- a/packages/block-library/src/cover/style.scss +++ b/packages/block-library/src/cover/style.scss @@ -3,7 +3,6 @@ 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.