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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
62 changed files with 105 additions and 217 deletions

View file

@ -955,8 +955,7 @@ export default defineComponent({
}
> span {
overflow: hidden; // overflow: clip; Safari
overflow: clip;
overflow: hidden;
flex-shrink: 1;
text-overflow: ellipsis;
white-space: nowrap;
@ -1029,8 +1028,7 @@ export default defineComponent({
&.collapsed {
position: relative;
max-height: 9em;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
overflow: hidden;
> .fade {
display: block;