Skip to content

Commit 2b95c95

Browse files
authored
Merge pull request #297 from BeAPI/feature/wp-block-group-reset-margin
Reset inner margin in wp-block-group
2 parents 045674f + 6f2dcb8 commit 2b95c95

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/scss/06-blocks/core/_group.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
.wp-block-group {
2+
$el: &;
3+
24
display: flow-root;
5+
6+
&--no-inner-margin {
7+
#{$el}__inner-container {
8+
> * {
9+
margin-top: 0;
10+
margin-bottom: 0;
11+
}
12+
}
13+
}
314
}
415

516
@include editor-only {

0 commit comments

Comments
 (0)