Added tablet breakpoint
This commit is contained in:
parent
48aa6da181
commit
d844aad122
@ -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;
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user