优先兼容Mac深色模式,首页文章密度调整

This commit is contained in:
tangly1024
2021-11-02 14:50:46 +08:00
parent 838d3c7d1b
commit e863215325
7 changed files with 25 additions and 13 deletions

View File

@@ -69,7 +69,7 @@ const BlogPostListScroll = ({ posts = [], tags }) => {
return <div id='post-list-wrapper' className='mt-28 md:mt-32 mx-2 md:mx-20' ref={targetRef}>
<div>
{/* 文章列表 */}
<div className='grid 2xl:grid-cols-4 xl:grid-cols-4 lg:grid-cols-3 md:grid-cols-2 grid-cols-1 gap-3'>
<div className='grid 3xl:grid-cols-3 md:grid-cols-2 grid-cols-1 gap-5'>
{postsToShow.map(post => (
<BlogPost key={post.id} post={post} tags={tags} />
))}