Angular Material mat-expansion-panel-body style not being applied January 3, 2024 by Tarik I set up ::ng-deep in component css, it worked in my side. ::ng-deep .mat-expansion-panel-body{ padding: 0; }