Skip to content

Commit

Permalink
Remove container block margin when a background is set. Allows consec…
Browse files Browse the repository at this point in the history
…utive container blocks to have no gap between them
  • Loading branch information
talldan authored and getdave committed Mar 28, 2019
1 parent dc253f9 commit b691d94
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/block-library/src/container/theme.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.wp-block-container {
padding: 1rem 2rem;

&.has-background {
margin-top: 0;
margin-bottom: 0;
}
}

0 comments on commit b691d94

Please sign in to comment.