Skip to content

Commit 37139c0

Browse files
mmalerbadevversion
andcommitted
fix(material-experimental/mdc-form-field): update src/material-experimental/mdc-form-field/form-field.ts
Co-authored-by: Paul Gschwendtner <[email protected]>
1 parent 63d3d82 commit 37139c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material-experimental/mdc-form-field/form-field.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ export class MatFormField
670670

671671
// Update the translateX of the floating label to account for the prefix container,
672672
// but allow the CSS to override this setting via a CSS variable when the label is
673-
// docked.
673+
// floating.
674674
floatingLabel.style.transform = `var(
675675
--mat-mdc-form-field-label-transform,
676676
${FLOATING_LABEL_DEFAULT_DOCKED_TRANSFORM} translateX(${labelHorizontalOffset}px

0 commit comments

Comments
 (0)