Skip to content

Commit 7c804e0

Browse files
committed
fix columns
1 parent f3d1afb commit 7c804e0

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
.wp-block-columns {
22
gap: get-gutter-width() !important;
33

4+
.wp-block-column {
5+
&.has-background {
6+
padding: var(--spacing--block-1);
7+
}
8+
}
9+
410
&:not(.is-not-stacked-on-mobile) {
511
.wp-block-column {
612
margin-left: 0 !important;
7-
8-
&:not(:only-child) {
9-
flex-basis: 100% !important;
10-
}
1113
}
1214

13-
@include breakpoints(sm, mdl) {
15+
@include breakpoints(md, max) {
1416
flex-wrap: wrap !important;
1517

1618
.wp-block-column {
1719
&:not(:only-child) {
18-
flex-basis: calc(50% - #{get-gutter-width() * .5}) !important;
19-
flex-grow: 0 !important;
20+
flex-basis: 100% !important;
2021
}
2122
}
2223
}

0 commit comments

Comments
 (0)