Skip to content

Commit

Permalink
Add position relative to keep inner content on the top
Browse files Browse the repository at this point in the history
  • Loading branch information
renatho committed Oct 18, 2024
1 parent e5e0c31 commit e9c5f0b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/block-library/src/cover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e9c5f0b

Please sign in to comment.