diff --git a/src/lib/form-field/_form-field-theme.scss b/src/lib/form-field/_form-field-theme.scss index 010b6b368ce5..898a2b0a35e4 100644 --- a/src/lib/form-field/_form-field-theme.scss +++ b/src/lib/form-field/_form-field-theme.scss @@ -55,10 +55,10 @@ .mat-form-field-underline { background-color: $underline-color; + } - &.mat-disabled { - @include mat-control-disabled-underline($underline-color); - } + .mat-form-field-disabled .mat-form-field-underline { + @include mat-control-disabled-underline($underline-color); } .mat-form-field-ripple { diff --git a/src/lib/form-field/form-field.html b/src/lib/form-field/form-field.html index 3ab526ce0e7e..f78d16a64000 100644 --- a/src/lib/form-field/form-field.html +++ b/src/lib/form-field/form-field.html @@ -35,8 +35,7 @@ -