mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
@ -9,6 +9,6 @@ $outer-content-md-background-color: #efeff4 !default;
|
|||||||
background: $outer-content-md-background-color;
|
background: $outer-content-md-background-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
ion-nav {
|
ion-nav.has-views {
|
||||||
background: #000;
|
background: #000;
|
||||||
}
|
}
|
||||||
|
@ -474,6 +474,10 @@ export class ViewController extends Ion {
|
|||||||
// allow clicks again
|
// allow clicks again
|
||||||
ClickBlock(false);
|
ClickBlock(false);
|
||||||
this.app.setTransitioning(false);
|
this.app.setTransitioning(false);
|
||||||
|
|
||||||
|
if (this.items.length === 1) {
|
||||||
|
this.elementRef.nativeElement.classList.add('has-views');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user