优先兼容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

@@ -56,7 +56,7 @@ const BlogPostList = ({ page = 1, posts = [], tags }) => {
<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-4 2xl:grid-cols-3 md:grid-cols-2 grid-cols-1 gap-5'>
{postsToShow.map(post => (
<BlogPost key={post.id} post={post} tags={tags} />
))}