File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 30
30
border-radius : inherit ;
31
31
}
32
32
33
+ // This style used to be applied by the MatRipple
34
+ // directive, which is no longer attached to this element.
35
+ .mat-mdc-button-ripple {
36
+ overflow : hidden ;
37
+ }
38
+
33
39
// We use ::before so that we can reuse some of MDC's theming.
34
40
.mat-mdc-button-persistent-ripple ::before {
35
41
content : ' ' ;
Original file line number Diff line number Diff line change 92
92
}
93
93
}
94
94
95
- // This style used to be applied by the MatRipple
96
- // directive, which is no longer attached to this element.
97
- .mat-mdc-button-ripple {
98
- overflow : hidden ;
99
- }
100
-
101
95
// Since the stroked button has has an actual border that reduces the available space for
102
96
// child elements such as the ripple container or focus overlay, an inherited border radius
103
97
// for the absolute-positioned child elements does not work properly. This is because the
Original file line number Diff line number Diff line change 55
55
@include button-base .mat-private-button-touch-target (true);
56
56
@include private .private-animation-noop ();
57
57
58
- // This style used to be applied by the MatRipple
59
- // directive, which is no longer attached to this element.
60
- .mat-mdc-button-ripple {
61
- overflow : hidden ;
62
- }
63
-
64
58
.mat-mdc-button-persistent-ripple {
65
59
border-radius : 50% ;
66
60
}
You can’t perform that action at this time.
0 commit comments