We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec9bb80 + 73b6b9b commit 74005d5Copy full SHA for 74005d5
src/scss/06-blocks/core/_columns.scss
@@ -1,22 +1,24 @@
1
.wp-block-columns {
2
+ @include block-vertical-spacing();
3
gap: get-gutter-width() !important;
4
5
+ .wp-block-column {
6
+ &.has-background {
7
+ padding: var(--spacing--block-1);
8
+ }
9
10
+
11
&:not(.is-not-stacked-on-mobile) {
12
.wp-block-column {
13
margin-left: 0 !important;
-
- &:not(:only-child) {
- flex-basis: 100% !important;
- }
14
}
15
- @include breakpoints(sm, mdl) {
16
+ @include breakpoints(md, max) {
17
flex-wrap: wrap !important;
18
19
20
&:not(:only-child) {
- flex-basis: calc(50% - #{get-gutter-width() * .5}) !important;
- flex-grow: 0 !important;
21
+ flex-basis: 100% !important;
22
23
24
0 commit comments