Morden: Fix responsive logic in header
This commit is contained in:
parent
c539885985
commit
263d5b3d63
3 changed files with 28 additions and 1 deletions
|
@ -68,8 +68,13 @@ body {
|
|||
position: relative;
|
||||
|
||||
.site-header-wrap {
|
||||
|
||||
@extend %responsive-alignwide;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
@include media(mobile-only) {
|
||||
width: calc(100% - #{2 * map-deep-get($config-global, "spacing", "unit")});
|
||||
}
|
||||
|
||||
& > * {
|
||||
max-width: 100%;
|
||||
|
|
|
@ -3491,6 +3491,17 @@ hr.wp-block-separator.is-style-wide,
|
|||
position: relative;
|
||||
}
|
||||
|
||||
#masthead .site-header-wrap {
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 559px) {
|
||||
#masthead .site-header-wrap {
|
||||
width: calc(100% - 32px);
|
||||
}
|
||||
}
|
||||
|
||||
#masthead .site-header-wrap > * {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
|
|
@ -3508,6 +3508,17 @@ hr.wp-block-separator.is-style-wide,
|
|||
position: relative;
|
||||
}
|
||||
|
||||
#masthead .site-header-wrap {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 559px) {
|
||||
#masthead .site-header-wrap {
|
||||
width: calc(100% - 32px);
|
||||
}
|
||||
}
|
||||
|
||||
#masthead .site-header-wrap > * {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue