I'm working angular flex-layout and sidenav. The sidenav is opened in desktop. I want the sidenav is hidden when the screen < 992px.
Try using a CSS media query class and set the class for the mat-sidenav element.
mat-sidenav