Check out this source to see how it can be implemented.
Make sure to include modifiers to style material elements like :host
and ::ng-deep
.
Adjust the line-height
property to customize the spacing between the header and body.
Some may argue against this approach due to possible deprecation and similarity to !important
, but as long as you understand what you're doing, it's acceptable to use them in my view.
I have made changes to your stackblitz project with the modifiers. Click here to see the updated version.
If you want to learn more about these modifiers and when to use them, check out this course here.