We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c503a3 commit 50c684fCopy full SHA for 50c684f
1 file changed
src/scss/06-blocks/core/_columns.scss
@@ -1,6 +1,13 @@
1
.wp-block-columns {
2
+ --wp-block-columns-row-gap: var(--spacing--block-2);
3
+ --wp-block-columns-column-gap: #{get_gutter-width()};
4
+
5
@include block-vertical-spacing();
6
7
+ row-gap: var(--wp-block-columns-row-gap);
8
+ column-gap: var(--wp-block-columns-column-gap) !important;
9
+ justify-content: space-between;
10
11
.wp-block-column {
12
&.has-background {
13
padding: var(--spacing--block-1);
@@ -19,6 +26,10 @@
19
26
&:not(:only-child) {
20
27
flex-basis: 100% !important;
21
28
}
29
30
+ &:empty {
31
+ display: none;
32
+ }
22
33
23
34
24
35
0 commit comments