mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 23:52:31 -05:00
Move the mobile top padding to account for the nav into the body where it belongs
This commit is contained in:
parent
795e8335c2
commit
f8e728e654
1 changed files with 4 additions and 1 deletions
5
resources/assets/sass/app.scss
vendored
5
resources/assets/sass/app.scss
vendored
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue