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;
2020 border-radius : $mat-button-toggle-legacy-border-radius ;
2121 -webkit-tap-highlight-color : transparent ;
2222
23+ // Fixes the ripples not being clipped to the border radius on Safari.
24+ transform : translateZ (0 );
25+
2326 @include cdk-high-contrast {
2427 outline : solid 1px ;
2528 }
Original file line number Diff line number Diff line change 106106 border-radius : inherit ;
107107}
108108
109+ .mat-button-ripple {
110+ // Fixes the ripples not being clipped to the border radius on Safari.
111+ transform : translateZ (0 );
112+ }
113+
109114// Element that overlays the button to show focus and hover effects.
110115.mat-button-focus-overlay {
111116 opacity : 0 ;
You can’t perform that action at this time.
0 commit comments