perf: use overflow: clip instead of hidden

This commit is contained in:
syuilo 2021-02-27 11:18:53 +09:00
parent 377b0399a0
commit 06e817af59
62 changed files with 217 additions and 105 deletions

View file

@ -101,7 +101,8 @@ export default defineComponent({
top: 0;
border-radius: 100%;
z-index: 1;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
object-fit: cover;
width: 100%;
height: 100%;