I’m trying to figure out the best way to create some spacing between the required message and the address input. In the image, you can see that the required message runs right up against the top of the address input. I tried to use padding in the css but that didn’t seem to work.
Here is the class I’m using in the html:
<mat-error class="form-field-extra-space" *ngIf="addRemoveForm.controls['dateOfBirth'].invalid">{{ addRemoveForm.controls["dateOfBirth"].errors?.errMsg }}</mat-error>
css
.form-field-extra-space {
padding: 20px;
}