Skip to content

Commit

Permalink
fix(material-experimental/mdc-form-field)
Browse files Browse the repository at this point in the history
increase specificity of `line-height: normal` on the floating label
  • Loading branch information
mmalerba committed Sep 13, 2021
1 parent 707efb6 commit b9ef72f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -20,7 +20,7 @@
// In order to ensure proper alignment of the floating label, we reset its line-height.
// The line-height is not important as the element is absolutely positioned and only has one line
// of text.
.mat-mdc-form-field .mdc-floating-label {
.mat-mdc-form-field .mdc-floating-label.mdc-floating-label {
line-height: normal;
}

Expand Down

0 comments on commit b9ef72f

Please sign in to comment.