File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 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 88
88
border-radius : inherit ;
89
89
}
90
90
91
+ .mat-button-ripple {
92
+ // Fixes the ripples not being clipped to the border radius on Safari.
93
+ transform : translateZ (0 );
94
+ }
95
+
91
96
// Element that overlays the button to show focus and hover effects.
92
97
.mat-button-focus-overlay {
93
98
// 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