mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
@ -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;
|
||||
}
|
||||
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user