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

@ -886,8 +886,7 @@ export default defineComponent({
.note {
position: relative;
transition: box-shadow 0.1s ease;
overflow: hidden; // overflow: clip; Safari
overflow: clip;
overflow: hidden;
contain: content;
&:focus-visible {
@ -947,8 +946,7 @@ export default defineComponent({
}
> span {
overflow: hidden; // overflow: clip; Safari
overflow: clip;
overflow: hidden;
flex-shrink: 1;
text-overflow: ellipsis;
white-space: nowrap;