Onsen UI and PhoneGap/Cordova on iOS 7

iOS 7 comes with new UI design that the application now run in full screen with the status bar overlay the application.

If you run current Onsen UI version (0.6), you will see something like this:


The solution is to increase the height of the navigation bar and pad the top section.

Below is the code to solve this problem.



.topcoat-navigation-bar { 
height: 60px;
padding-top: 20px;


Below is what it look like after applying the code.

Originally published at onsen.io on January 23, 2014.