Control the width of the sidenav bar by clicking on css – closebtn.

I am using sidenav angular materials for my side navigation drawer bar and main content. When I click the Close button for the sidebar, the entire side navigation bar (drawer content) closes. But I want it to still display with a smaller width and change the content of the side drawers to show only the matte icons.

How do I do this, ie the sidebar should not be completely closed, its width should be small enough to show only icons? Any help would be appreciated.

Write a Comment

Your email address will not be published. Required fields are marked *