搜索页面分页处理

This commit is contained in:
tangly
2022-11-18 13:12:59 +08:00
parent 12babbdbca
commit 8a1bf132f2
18 changed files with 354 additions and 215 deletions

View File

@@ -43,7 +43,7 @@ export const BlogListScroll = props => {
}
})
return <div className="w-full md:pr-12 mb-12" ref={targetRef}>
return <div id="container" className="w-full md:pr-12 mb-12" ref={targetRef}>
{postsToShow.map(p => (
<article key={p.id} className="mb-12" >
<h2 className="mb-4">