diff --git a/aio/src/app/app.component.ts b/aio/src/app/app.component.ts index c90c41d5c8e..f36b6d77e47 100644 --- a/aio/src/app/app.component.ts +++ b/aio/src/app/app.component.ts @@ -79,7 +79,7 @@ export class AppComponent implements OnInit { private currentUrl: string; get isOpened() { return this.dockSideNav && this.isSideNavDoc; } - get mode() { return this.dockSideNav && (this.isSideNavDoc || this.showTopMenu) ? 'side' : 'over'; } + get mode() { return this.isOpened ? 'side' : 'over'; } // Search related properties showSearchResults = false;