Update varia to limit the margins on child blocks inside columns in template parts
This commit is contained in:
parent
20a5a9ed48
commit
8c7cb932ec
4 changed files with 23 additions and 1 deletions
|
@ -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 {
|
||||
|
|
|
@ -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") };
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue