Updated mobile view for dropdown (#717)

Dropdown menu with dynamic positioning
This commit is contained in:
Priyansh
2021-08-18 21:48:12 +05:30
committed by GitHub
parent e103fb5876
commit ca13d9109c
6 changed files with 20 additions and 7 deletions

View File

@@ -28,4 +28,8 @@ export class MasterPageComponent implements OnInit {
collapse(): void {
this.navCollapsed = !this.navCollapsed;
}
onResize(event: any) {
this.isMobile = window.innerWidth <= 767.98;
}
}