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 63d3d82 commit f430c87Copy full SHA for f430c87
src/material-experimental/mdc-form-field/form-field.ts
@@ -670,7 +670,7 @@ export class MatFormField
670
671
// Update the translateX of the floating label to account for the prefix container,
672
// but allow the CSS to override this setting via a CSS variable when the label is
673
- // docked.
+ // floating.
674
floatingLabel.style.transform = `var(
675
--mat-mdc-form-field-label-transform,
676
${FLOATING_LABEL_DEFAULT_DOCKED_TRANSFORM} translateX(${labelHorizontalOffset}px
0 commit comments