mat-toolbar { position: relative; z-index: 5; color: #fff; } .content { padding: 24px; } mat-sidenav-container { height: calc(100vh - 60px); } h1 { color: #fff; margin: 0; } .user-info { margin-left: auto; display: flex; align-items: center; } .example-spacer { flex: 1 1 auto; } .user-info button { margin-left: 10px; } .header-text h2 { margin: 0; font-size: 1rem; line-height: 1.5rem; } .header-text p { margin: 0; font-size: 0.8rem; } .hide-header-text { opacity: 0; height: 0px; }