From f8e728e654861173846600719147997353dac40f Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 13 Dec 2017 23:12:16 -0500 Subject: [PATCH] Move the mobile top padding to account for the nav into the body where it belongs --- resources/assets/sass/app.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/assets/sass/app.scss b/resources/assets/sass/app.scss index 3675fc8..50700a6 100644 --- a/resources/assets/sass/app.scss +++ b/resources/assets/sass/app.scss @@ -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; }