diff --git a/Display/src/app/components/nav/nav.component.html b/Display/src/app/components/nav/nav.component.html index 7dd0626..9747ed7 100644 --- a/Display/src/app/components/nav/nav.component.html +++ b/Display/src/app/components/nav/nav.component.html @@ -5,7 +5,7 @@ Home Monitor - + diff --git a/Display/src/app/components/nav/nav.component.ts b/Display/src/app/components/nav/nav.component.ts index adecd5d..53d9f82 100644 --- a/Display/src/app/components/nav/nav.component.ts +++ b/Display/src/app/components/nav/nav.component.ts @@ -9,7 +9,14 @@ import { map, shareReplay } from 'rxjs/operators'; styleUrls: ['./nav.component.scss'] }) export class NavComponent { - isHandset$: Observable = this.breakpointObserver.observe(Breakpoints.Handset) + isHandset$: Observable = this.breakpointObserver.observe([ + Breakpoints.HandsetLandscape, + Breakpoints.HandsetPortrait, + Breakpoints.Handset, + Breakpoints.TabletLandscape, + Breakpoints.TabletPortrait, + Breakpoints.Tablet + ]) .pipe( map(result => result.matches), shareReplay()