We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f003174 commit f93c1a6Copy full SHA for f93c1a6
src/material-experimental/mdc-form-field/form-field.ts
@@ -678,7 +678,7 @@ export class MatFormField
678
679
// Update the translateX of the floating label to account for the prefix container,
680
// but allow the CSS to override this setting via a CSS variable when the label is
681
- // docked.
+ // floating.
682
floatingLabel.style.transform = `var(
683
--mat-mdc-form-field-label-transform,
684
${FLOATING_LABEL_DEFAULT_DOCKED_TRANSFORM} translateX(${labelHorizontalOffset}px
0 commit comments