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;
1313 position : relative ;
1414 display : inline-flex ;
1515 flex-direction : row ;
16-
1716 border-radius : $mat-button-toggle-border-radius ;
1817
18+ // Fixes the ripples not being clipped to the border radius on Safari.
19+ transform : translateZ (0 );
20+
1921 cursor : pointer ;
2022 white-space : nowrap ;
2123 overflow : hidden ;
Original file line number Diff line number Diff line change 8888 border-radius : inherit ;
8989}
9090
91+ .mat-button-ripple {
92+ // Fixes the ripples not being clipped to the border radius on Safari.
93+ transform : translateZ (0 );
94+ }
95+
9196// Element that overlays the button to show focus and hover effects.
9297.mat-button-focus-overlay {
9398 // 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