We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8611a74 commit 7386fe8Copy full SHA for 7386fe8
src/material-experimental/mdc-checkbox/checkbox.scss
@@ -74,6 +74,16 @@
74
}
75
76
77
+ // Clicking the label toggles the checkbox, but MDC does not include any styles that inform the
78
+ // user of this. Therefore we add the pointer cursor on top of MDC's styles.
79
+ label {
80
+ cursor: pointer;
81
+ }
82
+
83
+ &.mat-mdc-checkbox-disabled label {
84
+ cursor: default;
85
86
87
// The MDC styles result in extra padding if the label is present but empty. To fix this we hide
88
// the label when it is empty.
89
label:empty {
0 commit comments