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

@ -104,7 +104,8 @@ export default defineComponent({
display: block;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
margin: 0;
}
@ -124,7 +125,8 @@ export default defineComponent({
width: 55%;
line-height: 42px;
white-space: nowrap;
overflow: hidden;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
text-overflow: ellipsis;
opacity: 0.7;
font-size: 14px;