#plans-container { height: calc(100vh - 112px); } mat-sidenav { width: 340px; } #menu-toggle-btn { position: absolute; right: 0px; top: 20px; border-radius: 50% 0 0 50%; padding: 8px; background-color: #F0F0F0; } @media screen and (max-width: 600px) { #menu-toggle-btn { position: relative; top: 0; right: 0; border-radius: 50%; padding: 12px; } }