File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ $mat-button-toggle-legacy-border-radius: 2px !default;
20
20
border-radius : $mat-button-toggle-legacy-border-radius ;
21
21
-webkit-tap-highlight-color : transparent ;
22
22
23
+ // Fixes the ripples not being clipped to the border radius on Safari.
24
+ transform : translateZ (0 );
25
+
23
26
@include cdk-high-contrast {
24
27
outline : solid 1px ;
25
28
}
Original file line number Diff line number Diff line change 106
106
border-radius : inherit ;
107
107
}
108
108
109
+ .mat-button-ripple {
110
+ // Fixes the ripples not being clipped to the border radius on Safari.
111
+ transform : translateZ (0 );
112
+ }
113
+
109
114
// Element that overlays the button to show focus and hover effects.
110
115
.mat-button-focus-overlay {
111
116
opacity : 0 ;
You can’t perform that action at this time.
0 commit comments