diff --git a/ionic/components/content/modes/ios.scss b/ionic/components/content/modes/ios.scss index 386161a2f3..ce4489ba52 100644 --- a/ionic/components/content/modes/ios.scss +++ b/ionic/components/content/modes/ios.scss @@ -9,6 +9,6 @@ $outer-content-md-background-color: #efeff4 !default; background: $outer-content-md-background-color; } -ion-nav { +ion-nav.has-views { background: #000; } diff --git a/ionic/components/view/view-controller.ts b/ionic/components/view/view-controller.ts index 9a795a2060..e409e664f1 100644 --- a/ionic/components/view/view-controller.ts +++ b/ionic/components/view/view-controller.ts @@ -474,6 +474,10 @@ export class ViewController extends Ion { // allow clicks again ClickBlock(false); this.app.setTransitioning(false); + + if (this.items.length === 1) { + this.elementRef.nativeElement.classList.add('has-views'); + } } /**