Add hack to allow overflow hidden with border radio in old webkit

old
Javi Velasco 2015-11-18 22:53:30 +01:00
parent 64baf5db63
commit b12bf6e7e0
2 changed files with 6 additions and 1 deletions

View File

@ -252,6 +252,11 @@
transition-duration: $duration;
}
@mixin rounded-overflow() {
overflow: hidden;
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
}
// The frames are this way to prevent a flicker in Safari
// See https://goo.gl/5luFDk
@mixin ripple-loading($name, $width, $height, $opacity: 0.3) {

View File

@ -41,7 +41,7 @@
pointer-events: none;
}
[data-react-toolbox="ripple"] {
overflow: hidden;
@include rounded-overflow();
}
}