Skip to content

Commit 4d2027f

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 ea9354e commit 4d2027f

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
@@ -52,7 +52,7 @@
5252
<span
5353
class="mat-placeholder-required mat-form-field-required-marker"
5454
aria-hidden="true"
55-
*ngIf="!hideRequiredMarker && _control.required && !_control.disabled">&nbsp;*</span>
55+
*ngIf="!hideRequiredMarker && _control.required && !_control.disabled">*</span>
5656
</label>
5757
</span>
5858
</div>

0 commit comments

Comments
 (0)