mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(chips): ripple not clipping correctly in safari (#12244)
Fixes the ripple on a `mat-chip` not being clipped to the rounded corners on Safari.
This commit is contained in:
committed by
vivian-hu
parent
6a7327351f
commit
eb95e614da
@@ -29,6 +29,9 @@ $mat-chip-remove-size: 18px;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
|
||||
// Required for the ripple to clip properly in Safari.
|
||||
transform: translateZ(0);
|
||||
}
|
||||
|
||||
.mat-standard-chip {
|
||||
|
||||
Reference in New Issue
Block a user