fukasawa主题微调逻辑

This commit is contained in:
tangly1024.com
2023-03-15 17:44:32 +08:00
parent cf511f46a3
commit f78745dcbd
7 changed files with 83 additions and 88 deletions

View File

@@ -57,9 +57,11 @@ const BlogPostListScroll = ({ posts = [], currentSearch, showSummary = CONFIG_MA
return <div id='container' ref={targetRef} className='w-full'>
{/* 文章列表 */}
<div className='flex flex-wrap space-y-1 lg:space-y-4 px-2'>
<div className="px-4 pt-4 flex flex-wrap pb-24" >
{postsToShow.map(post => (
<BlogPostCard index={posts.indexOf(post)} key={post.id} post={post} showSummary={showSummary} siteInfo={siteInfo}/>
<div key={post.id} className='xl:w-1/3 md:w-1/2 w-full p-4'>
<BlogPostCard index={posts.indexOf(post)} post={post} siteInfo={siteInfo} />
</div>
))}
</div>