mat-sidenav { width: 400px; padding: 30px 10px; } #property-name { color: rgba(0, 0, 0, 0.66); font-size: 12px; margin-bottom: 2px; } #property-value { font-size: 12px; } .mat-button { position: absolute; top: 10px; right: 10px; min-width: 28px; width: 28px; height: 28px; padding: 0; .mat-icon { width: 24px; height: 24px; } }