Skip to content

Commit 39dcdf2

Browse files
authored
Fix some issues with fullwidth blocks on styled layout (#676)
* Fix lastest posts in fullwidth group * Avoid extra padding on nested WP group blocks
1 parent 67ef23a commit 39dcdf2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

sass/wp-blocks/group.scss

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
&.alignfull {
66
width: 100vw;
7-
display: flex;
8-
justify-content: center;
97

108
margin-left: calc(50% - 50vw);
119
margin-right: calc(50% - 50vw);

sass/wp-blocks/styled-layout.scss

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
padding-top: 100px;
55
padding-bottom: 100px;
66

7+
.wp-block-group {
8+
padding-top: 0;
9+
padding-bottom: 0;
10+
}
11+
712
@include media-breakpoint-down(md) {
813
padding-top: 50px;
914
padding-bottom: 50px;

0 commit comments

Comments
 (0)