diff options
author | Dave Arter <davea@mysociety.org> | 2015-08-04 16:54:19 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2015-08-28 14:27:16 +0100 |
commit | 2a5d52520f3e35fbae1e0c50b7bfb5b132ca4ed6 (patch) | |
tree | 6c51c98276bd2137a3d3b8135906908a03d7e1e6 | |
parent | df13501f23a5673b1d560fd7f0ec3c158897693c (diff) |
Remove 20px whitespace at the top of UI on iOS7+
-rw-r--r-- | config.xml | 3 | ||||
-rw-r--r-- | www/css/fms.css | 10 |
2 files changed, 3 insertions, 10 deletions
@@ -26,7 +26,8 @@ <preference name="android-minSdkVersion" value="16" /> <preference name="orientation" value="portrait" /> <preference name="StatusBarOverlaysWebView" value="false" /> - <preference name="StatusBarBackgroundColor" value="#000000" /> + <preference name="StatusBarBackgroundColor" value="#F6BE41" /> + <preference name="StatusBarStyle" value="default" /> <platform name="android"> <icon src="res/android/ldpi.png" density="ldpi" /> diff --git a/www/css/fms.css b/www/css/fms.css index 1739ece..0a46d72 100644 --- a/www/css/fms.css +++ b/www/css/fms.css @@ -204,10 +204,6 @@ background-image: none; } - .ios7 .ui-page-active { - padding-top: 20px; - } - .ios7 .ui-bar-a, body.ios7 { background-color: #F6BE41; @@ -218,13 +214,9 @@ border-color: #F6BE41; } - .ios7 .ui-header-fixed { - padding-top: 20px; - } - .ios7 .ui-header-fixed .ui-btn-left, .ios7 .ui-header-fixed .ui-btn-right { - top: 24px; + top: 4px; } .ios7 #map_box { |