Skip to content

Commit

Permalink
fix: style of header when enableNavToggle = false
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Mar 6, 2020
1 parent 5f49a0e commit 6c3356e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
16 changes: 10 additions & 6 deletions assets/scss/base/_responsive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
display: none;
}
@if ($headerLayoutFlex) {
.header-inner {
width: 100%;
}
.site-brand {
margin-left: 1em;
}
@if ($enableNavToggle) {
.header-inner {
display: block;
margin: 0;
}
.header-inner {
width: 100%;
}
.site-brand {
margin-left: 1em;
}
.nav-toggle {
display: block;
}
Expand Down Expand Up @@ -124,6 +124,10 @@
}
}
}
} @else {
.nav {
margin-right: 1em;
}
}
} @else {
.menu {
Expand Down

0 comments on commit 6c3356e

Please sign in to comment.