From ef06344fe21d3b16693d13fe903d83be2c4c9637 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sun, 19 May 2019 15:38:06 -0600 Subject: [PATCH] Make room for device statusbar when needed, fix #15 --- www/css/app.css | 5 +++++ www/index.html | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/www/css/app.css b/www/css/app.css index ce17e0d..0db2219 100644 --- a/www/css/app.css +++ b/www/css/app.css @@ -8,6 +8,11 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. padding-top: 0px; } +/* Make room for the statusbar on pages with navbars */ +.view-main .page:not([data-name=home]) .navbar { + margin-top: var(--f7-statusbar-height); +} + .popup { overflow-y: scroll; } diff --git a/www/index.html b/www/index.html index d081121..c28d892 100644 --- a/www/index.html +++ b/www/index.html @@ -22,8 +22,6 @@
- -