diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-10-25 18:19:08 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-10-25 18:19:08 +0200 |
| commit | 531c60ee7ecbee516812d560b63a8317c3cf3590 (patch) | |
| tree | f2d85569a113a6f9056de3fdd5d4272c0b3406a6 /StoneIsland/www | |
| parent | 4da1d17b84d25fb4b34e583e4bf3b64f5ad2e147 (diff) | |
hide statusbar
Diffstat (limited to 'StoneIsland/www')
| -rwxr-xr-x | StoneIsland/www/css/index.css | 1 | ||||
| -rwxr-xr-x | StoneIsland/www/index.html | 2 | ||||
| -rwxr-xr-x | StoneIsland/www/js/index.js | 4 |
3 files changed, 6 insertions, 1 deletions
diff --git a/StoneIsland/www/css/index.css b/StoneIsland/www/css/index.css index a67e4bcf..4d8e5514 100755 --- a/StoneIsland/www/css/index.css +++ b/StoneIsland/www/css/index.css @@ -18,6 +18,7 @@ body { background: #fff; font-family: pfd, sans-serif; font-size: 12px; + padding-top: constant(safe-area-inset-top); } .loader { diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html index 0b10cd52..a7c6bacb 100755 --- a/StoneIsland/www/index.html +++ b/StoneIsland/www/index.html @@ -16,7 +16,7 @@ <meta name="format-detection" content="telephone=no"> <meta name="msapplication-tap-highlight" content="no"> - <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width"> + <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, viewport-fit=cover"> <link rel="stylesheet" type="text/css" href="css/fonts/fonts.css"> <link rel="stylesheet" type="text/css" href="css/fonts/ionicons.css"> <link rel="stylesheet" type="text/css" href="css/vendor/flickity.css"> diff --git a/StoneIsland/www/js/index.js b/StoneIsland/www/js/index.js index 72358e0e..413c3bc5 100755 --- a/StoneIsland/www/js/index.js +++ b/StoneIsland/www/js/index.js @@ -82,6 +82,10 @@ var app = (function(){ var image = new Image image.src = "./img/compass-logo.png" } + + if (is_iphone_x) { + StatusBar.hide() + } app.view = null app.router = new SiteRouter () |
