Update varia to limit the margins on child blocks inside columns in template parts

This commit is contained in:
apeatling 2019-12-03 13:16:14 -08:00
parent 20a5a9ed48
commit 8c7cb932ec
4 changed files with 23 additions and 1 deletions

View file

@ -57,6 +57,13 @@
width: 100%;
}
// Remove large margins on column children when used in a template part.
.wp-block-columns .wp-block-column {
& > * {
margin: 0 0 5px 0;
}
}
@import '../components/header/site-main-navigation';
.main-navigation {

View file

@ -30,6 +30,13 @@
vertical-align: middle;
}
}
// Remove large margins on column children when used in a template part.
.wp-block-columns .wp-block-column {
& > * {
margin: 0 0 5px 0;
}
}
}
.fse-header > *:first-child:not(.alignfull) {
@ -42,7 +49,7 @@
.fse-footer {
display: block;
.site-info {
margin-top: #{ 0.666 * map-deep-get($config-global, "spacing", "vertical") };
margin-bottom: #{ 0.666 * map-deep-get($config-global, "spacing", "vertical") };

View file

@ -1062,6 +1062,10 @@ table th,
width: 100%;
}
.fse-template-part .wp-block-columns .wp-block-column > * {
margin: 0 0 5px 0;
}
.fse-template-part .main-navigation {
color: #444444;
}

View file

@ -3767,6 +3767,10 @@ body.admin-bar .widget_eu_cookie_law_widget.widget.top {
vertical-align: middle;
}
.fse-template-part .wp-block-columns .wp-block-column > * {
margin: 0 0 5px 0;
}
.fse-header > *:first-child:not(.alignfull) {
margin-top: 21.312px;
}