Skip to content

Commit dc05c04

Browse files
committed
fix(form-field): remove leading space for asterisk
* In order to align with the 2018 Material Design guidelines, the leading space before the required asterisk should be removed. Fixes #12721
1 parent b9651df commit dc05c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/form-field/form-field.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<span
5252
class="mat-placeholder-required mat-form-field-required-marker"
5353
aria-hidden="true"
54-
*ngIf="!hideRequiredMarker && _control.required && !_control.disabled">&nbsp;*</span>
54+
*ngIf="!hideRequiredMarker && _control.required && !_control.disabled">*</span>
5555
</label>
5656
</span>
5757
</div>

0 commit comments

Comments
 (0)