fix(cordova): add status bar padding for content for all modes

closes #5934
This commit is contained in:
Brandy Carney
2016-04-15 11:59:22 -04:00
parent 2a4602cd09
commit f45ddf9087
4 changed files with 105 additions and 57 deletions

View File

@@ -77,11 +77,36 @@ class Page3 {
}
@Page({
template: `
<ion-navbar *navbar>
<ion-title>This is a tab page</ion-title>
<button menuToggle>
<ion-icon name="menu"></ion-icon>
</button>
<ion-buttons end>
<button>
<ion-icon name="funnel"></ion-icon>
</button>
</ion-buttons>
</ion-navbar>
<ion-content padding>
<p>The toolbar should have status bar padding.</p>
</ion-content>
`
})
class TabPage1 {
constructor(private nav: NavController) {
}
}
@Page({
templateUrl: 'tabs.html'
})
class TabsPage {
tab1Root = Page1;
tab1Root = TabPage1;
tab2Root = Page2;
tab3Root = Page3;