Skip to content

Commit

Permalink
Unset inherited backgrounds on Posts Lists. (#37941)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen authored and Mamaduka committed Feb 16, 2022
1 parent 03f7358 commit d28c498
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/block-library/src/post-template/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
list-style: none;
padding: 0;

// Unset background colors that can be inherited from Global Styles with extra specificity.
&.wp-block-post-template {
background: none;
}

&.is-flex-container {
flex-direction: row;
display: flex;
Expand Down

0 comments on commit d28c498

Please sign in to comment.