File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,6 @@ $mat-button-toggle-border-radius: 2px !default;
35
35
}
36
36
}
37
37
38
- .mat-button-toggle-disabled .mat-button-toggle-label-content {
39
- cursor : default ;
40
- }
41
-
42
38
.mat-button-toggle {
43
39
white-space : nowrap ;
44
40
position : relative ;
@@ -65,7 +61,6 @@ $mat-button-toggle-border-radius: 2px !default;
65
61
display : inline-block ;
66
62
line-height : $mat-button-toggle-height ;
67
63
padding : $mat-button-toggle-padding ;
68
- cursor : pointer ;
69
64
}
70
65
71
66
.mat-button-toggle-label-content > * {
@@ -112,4 +107,10 @@ $mat-button-toggle-border-radius: 2px !default;
112
107
margin : 0 ;
113
108
font : inherit ;
114
109
outline : none ;
110
+ width : 100% ; // Stretch the button in case the consumer set a custom width.
111
+ cursor : pointer ;
112
+
113
+ .mat-button-toggle-disabled & {
114
+ cursor : default ;
115
+ }
115
116
}
You can’t perform that action at this time.
0 commit comments