Skip to content

Commit f7382b5

Browse files
committed
Merge branch 'feature/gut-block-columns'
2 parents 7cc140a + 828b36f commit f7382b5

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/scss/abstract/_breakpoints.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
$breakpoints : (
11-
xsm: 480,
11+
xsm: 600,
1212
sm: 768,
1313
md: 1024,
1414
lg: 1440

src/scss/wp/_gutenberg.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@
1111
.wp-block {
1212
$el : &;
1313

14+
// Block columns
15+
&-column {
16+
@include breakpoints(xsm) {
17+
flex-basis: calc(50% - #{$base-spacing});
18+
}
19+
&:nth-child(even){
20+
@include breakpoints(xsm) {
21+
margin-left: $base-spacing*2;
22+
}
23+
}
24+
}
1425
// Block Button
1526
&-button {
1627
margin-bottom: $base-spacing;

0 commit comments

Comments
 (0)