require .platform-cordova in body tag to add status bar space

This commit is contained in:
Adam Bradley
2014-02-24 21:41:01 -06:00
parent 61aaacbcd8
commit 3830653a09

View File

@@ -5,7 +5,7 @@
* Platform specific tweaks when in Cordova.
*/
.platform-ios7:not(.fullscreen) {
.platform-ios7.platform-cordova:not(.fullscreen) {
// iOS7 has a status bar which sits on top of the header.
// Bump down everything to make room for it. However, if
// if its in Cordova, and set to fullscreen, then disregard the bump.
@@ -37,7 +37,7 @@
margin-bottom: 20px;
}
.platform-android {
.platform-android.platform-cordova {
.bar-header {
height: 48px;