Skip to content

Commit b9ef72f

Browse files
authored
fix(material-experimental/mdc-form-field)
increase specificity of `line-height: normal` on the floating label
1 parent 707efb6 commit b9ef72f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material-experimental/mdc-form-field/_mdc-text-field-structure-overrides.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// In order to ensure proper alignment of the floating label, we reset its line-height.
2121
// The line-height is not important as the element is absolutely positioned and only has one line
2222
// of text.
23-
.mat-mdc-form-field .mdc-floating-label {
23+
.mat-mdc-form-field .mdc-floating-label.mdc-floating-label {
2424
line-height: normal;
2525
}
2626

0 commit comments

Comments
 (0)