File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,11 @@ $mat-button-toggle-border-radius: 2px !default;
13
13
position : relative ;
14
14
display : inline-flex ;
15
15
flex-direction : row ;
16
-
17
16
border-radius : $mat-button-toggle-border-radius ;
18
17
18
+ // Fixes the ripples not being clipped to the border radius on Safari.
19
+ transform : translateZ (0 );
20
+
19
21
cursor : pointer ;
20
22
white-space : nowrap ;
21
23
overflow : hidden ;
Original file line number Diff line number Diff line change 91
91
border-radius : inherit ;
92
92
}
93
93
94
+ .mat-button-ripple {
95
+ // Fixes the ripples not being clipped to the border radius on Safari.
96
+ transform : translateZ (0 );
97
+ }
98
+
94
99
// Element that overlays the button to show focus and hover effects.
95
100
.mat-button-focus-overlay {
96
101
// The button spec calls for focus on raised buttons (and FABs) to be indicated with a
You can’t perform that action at this time.
0 commit comments