.mat-card { width: 50%; .mat-raised-button { position: absolute; top: 10px; right: 10px; min-width: 28px; width: 28px; height: 28px; padding: 0; .mat-icon { width: 24px; height: 24px; } } }