Skip to content

Commit

Permalink
style: 优化样式
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed Aug 2, 2023
1 parent 6aefc7a commit 25befa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions packages/fighting-theme/src/infinite-scrolling.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
.f-infinite-scrolling {
width: 100%;
height: 300px;
overflow: hidden;
overflow-y: scroll;

&__loading {
height: 40px;
Expand Down
5 changes: 3 additions & 2 deletions start/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
const length = ref(20)
const onScrollEnd = (): void => {
console.log('添加元素')
length.value += 10
setTimeout(() => {
length.value += 10
}, 2000)
}
</script>

Expand Down

0 comments on commit 25befa0

Please sign in to comment.