Varia: bring back vertical margins for alignfull columns block to prevent text in columns blocks from touching sibling blocks

This commit is contained in:
Allan Cole 2019-09-24 17:11:30 -04:00
parent b396af1dcc
commit f491062665
3 changed files with 24 additions and 0 deletions

View file

@ -43,5 +43,13 @@
&.alignfull {
padding-left: #{map-deep-get($config-global, "spacing", "horizontal")};
padding-right: #{map-deep-get($config-global, "spacing", "horizontal")};
&:not(:first-child) {
margin-top: map-deep-get($config-global, "spacing", "vertical");
}
&:not(:last-child) {
margin-bottom: map-deep-get($config-global, "spacing", "vertical");
}
}
}

View file

@ -1176,6 +1176,14 @@ input.has-focus[type="submit"],
padding-left: 16px;
}
.wp-block-columns.alignfull:not(:first-child) {
margin-top: 32px;
}
.wp-block-columns.alignfull:not(:last-child) {
margin-bottom: 32px;
}
.wp-block-cover,
.wp-block-cover-image {
background-color: black;

View file

@ -1176,6 +1176,14 @@ input.has-focus[type="submit"],
padding-right: 16px;
}
.wp-block-columns.alignfull:not(:first-child) {
margin-top: 32px;
}
.wp-block-columns.alignfull:not(:last-child) {
margin-bottom: 32px;
}
.wp-block-cover,
.wp-block-cover-image {
background-color: black;