fix(material-experimental/mdc-chips): ripple not being clipped in Safari (#16712)

Fixes the ripple inside a `mat-chip` not clipping to the border radius in Safari.
This commit is contained in:
Kristiyan Kostadinov
2019-08-08 20:41:22 +03:00
committed by mmalerba
parent e6afdbb9db
commit 93aba14c5f
@@ -11,6 +11,8 @@
cursor: default;
// Needed to prevent mat-ripple from escaping the chip
overflow: hidden;
// Required for the ripple to clip properly in Safari.
transform: translateZ(0);
}
// The MDC chip styles related to hover and focus states are intertwined with the MDC ripple styles.