I can\'t seem to wrap my head around having this container in an md card.
In my material cards, I have this:
&
I Know is an old question, but still today is an issue. The way I solved was overriding it like this in the ts file:
ngAfterViewInit() { document.getElementsByClassName('mat-card-header-text')[0].setAttribute('style', 'margin: 0 0'); }