.sidenav-container { height: 100%; width: 10vw; position: fixed; top: auto; left: 0; .sidenav { background-color: gray; height: 100%; } } .toolbar-spacer { flex: 1 1 auto; } .mat-toolbar { top: 0; }