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 1da2c78b63
commit 292bab200e
6 changed files with 20 additions and 7 deletions

View File

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