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

@ -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;