Skip to content

Commit

Permalink
leave width initial for all center positions
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu committed Aug 30, 2023
1 parent 6ede5e2 commit 8b759ef
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion packages/block-library/src/cover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,19 @@
&.has-custom-content-position.has-custom-content-position {
.wp-block-cover__inner-container {
margin: 0;
width: auto;
}
&.is-position-top-left,
&.is-position-top-right,
&.is-position-center-left,
&.is-position-center-right,
&.is-position-bottom-left,
&.is-position-bottom-right {
.wp-block-cover__inner-container {
margin: 0;
width: auto;
}
}

}

// Extra specificity for in edit mode where other styles would override it otherwise.
Expand Down

0 comments on commit 8b759ef

Please sign in to comment.