Skip to content

Commit

Permalink
fix(material-experimental/mdc-form-field): increase specificity of `l…
Browse files Browse the repository at this point in the history
…ine-height: normal` on the floating label
  • Loading branch information
mmalerba committed Sep 14, 2021
1 parent 707efb6 commit aac6264
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 aac6264

Please sign in to comment.