Move the mobile top padding to account for the nav into the body where it belongs

This commit is contained in:
Kevin MacMartin 2017-12-13 23:12:16 -05:00
parent 795e8335c2
commit f8e728e654

View file

@ -35,7 +35,6 @@ body {
width: 100%;
color: $c-text;
-webkit-overflow-scrolling: touch;
@media (max-width: $grid-float-breakpoint-max) { padding-top: $nav-height-mobile; }
}
.page-container {
@ -44,6 +43,10 @@ body {
padding-top: $nav-height;
flex-direction: column;
@media (max-width: $grid-float-breakpoint-max) {
padding-top: $nav-height-mobile;
}
.main-content {
flex-grow: 1;
}