Skip to content

Commit

Permalink
fix(layout header): prevent stretching wider than window max width (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg authored Sep 27, 2019
1 parent 39a41f5 commit c42c880
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,16 @@
margin: 0 auto;
}

.layout nb-layout-header nav {
.layout nb-layout-header {
max-width: nb-theme(layout-window-mode-max-width);
margin: 0 auto;
margin-left: auto;
margin-right: auto;
width: 100%;

nav {
max-width: nb-theme(layout-window-mode-max-width);
margin: 0 auto;
}
}

@media screen and (min-width: nb-theme(layout-window-mode-max-width) + 20px) {
Expand Down

0 comments on commit c42c880

Please sign in to comment.