How to remove this bottom gap?
Angular v15 is used.
The code is the from material components doc, no modifications. Just a default table and default outline formfield.
<mat-form-field appearance="outline" >
<mat-label>Favorite food</mat-label>
<mat-select>
@for (food of foods; track food) {
<mat-option [value]="food.value">{{ food.viewValue }}</mat-option>
}
</mat-select>
</mat-form-field>

We can use the below CSS and class to do it!
Note: This space is reserved to show validation messages like
this field is requiredso keep this in mind before making the change!if you want it to work within the component plz do this
stackblitz
html
stackblitz