I want to change the global, default padding on a Angular Material, mat-card.
In the angular.json I have this specification:
"styles": [
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
"src/styles/app.theme.scss",
"src/styles/styles.scss"
],
i make the adjustment inside of styles.scss
.mat-card {
margin: 5px;
padding: 5px;}
Result is that margin works, while padding does not. this is the result in the devtools. I see there is a .mat-card in <style> that takes precedence.
How do I set the padding on a global basis on a mat-card?
