From e9c5f0b728197cdb9ec3b83e59397cb6b626108a Mon Sep 17 00:00:00 2001 From: Renatho De Carli Rosa Date: Fri, 18 Oct 2024 12:56:36 -0300 Subject: [PATCH] Add position relative to keep inner content on the top --- packages/block-library/src/cover/style.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/block-library/src/cover/style.scss b/packages/block-library/src/cover/style.scss index 4b7c061a6cfa84..f2c8eb126ce887 100644 --- a/packages/block-library/src/cover/style.scss +++ b/packages/block-library/src/cover/style.scss @@ -100,6 +100,12 @@ /*rtl:raw: direction: rtl; */ } + &.has-no-zindex-in-inner-blocks { + .wp-block-cover__inner-container { + position: relative; // It needs a position to be on top of the other elements. + } + } + // Position: Top &.is-position-top-left { align-items: flex-start;