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 > * {
@@ -110,4 +105,10 @@ $mat-button-toggle-border-radius: 2px !default;
110
105
margin : 0 ;
111
106
font : inherit ;
112
107
outline : none ;
108
+ width : 100% ; // Stretch the button in case the consumer set a custom width.
109
+ cursor : pointer ;
110
+
111
+ .mat-button-toggle-disabled & {
112
+ cursor : default ;
113
+ }
113
114
}
You can’t perform that action at this time.
0 commit comments