Added tablet breakpoint

This commit is contained in:
Zakary Timson 2018-11-16 12:52:00 -05:00
parent 48aa6da181
commit d844aad122

View File

@ -26,7 +26,7 @@ export class AppComponent {
this.open = !this.hide && !this.mobile; this.open = !this.hide && !this.mobile;
}); });
breakpointObserver.observe([Breakpoints.Handset]).subscribe(result => { breakpointObserver.observe([Breakpoints.Handset, Breakpoints.Tablet]).subscribe(result => {
this.mobile = result.matches; this.mobile = result.matches;
this.open = !this.mobile; this.open = !this.mobile;
}) })