Revert "perf: use overflow: clip instead of hidden" (#7273)

This reverts commit 06e817af59.
This commit is contained in:
tamaina
2021-03-02 22:57:16 +09:00
committed by GitHub
parent 490692316e
commit 2154354a4f
62 changed files with 105 additions and 217 deletions

View File

@@ -167,8 +167,7 @@ export default defineComponent({
margin: auto;
width: 500px;
height: calc(100% - 128px);
overflow: hidden; // overflow: clip; をSafariが対応したら消す
overflow: clip;
overflow: hidden;
-webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 128px, rgba(0,0,0,1) calc(100% - 128px), rgba(0,0,0,0) 100%);
mask-image: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 128px, rgba(0,0,0,1) calc(100% - 128px), rgba(0,0,0,0) 100%);