fix(checkbox): hover indication showing when disabled (#16159)

Fixes `mat-checkbox` showing its hover indication when it's disabled. It looks like the selector for the disabled state was misspelled.

Fixes #16157.
This commit is contained in:
Kristiyan Kostadinov
2019-06-19 19:26:48 +02:00
committed by Jeremy Elbourn
parent 7a04788cd3
commit 60c9ebc374
+1 -1
View File
@@ -293,7 +293,7 @@ $_mat-checkbox-mark-stroke-size: 2 / 15 * $mat-checkbox-size !default;
// We do this here, rather than having a `:not(.mat-checkbox-disabled)`
// above in the `:hover`, because the `:not` will bump the specificity
// a lot and will cause it to overide the focus styles.
&, .mat-checkbox.mat-disabled .mat-checkbox-inner-container:hover & {
&, .mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover & {
opacity: 0;
}