Varia: bring back vertical margins for alignfull columns block to prevent text in columns blocks from touching sibling blocks
This commit is contained in:
parent
b396af1dcc
commit
f491062665
3 changed files with 24 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue