From f430c871cfef7cb04aa431db626382b3254fbf3f Mon Sep 17 00:00:00 2001 From: Miles Malerba Date: Wed, 25 May 2022 10:38:00 -0700 Subject: [PATCH] Update src/material-experimental/mdc-form-field/form-field.ts Co-authored-by: Paul Gschwendtner --- src/material-experimental/mdc-form-field/form-field.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material-experimental/mdc-form-field/form-field.ts b/src/material-experimental/mdc-form-field/form-field.ts index 662956299269..c3183cfbc001 100644 --- a/src/material-experimental/mdc-form-field/form-field.ts +++ b/src/material-experimental/mdc-form-field/form-field.ts @@ -670,7 +670,7 @@ export class MatFormField // Update the translateX of the floating label to account for the prefix container, // but allow the CSS to override this setting via a CSS variable when the label is - // docked. + // floating. floatingLabel.style.transform = `var( --mat-mdc-form-field-label-transform, ${FLOATING_LABEL_DEFAULT_DOCKED_TRANSFORM} translateX(${labelHorizontalOffset}px