微调样式

This commit is contained in:
tangly1024
2021-10-15 09:26:26 +08:00
parent 14699b63ae
commit fb4b93d5f1
3 changed files with 12 additions and 8 deletions

View File

@@ -71,7 +71,7 @@ const IndexLayout = ({ tags, posts, page, currentTag, ...customMeta }) => {
<div className=''>
{/* 文章列表 */}
<div className='grid xl:grid-cols-3 md:grid-cols-2 grid-cols-1 gap-3'>
<div className='grid 2xl:grid-cols-4 xl:grid-cols-4 lg:grid-cols-3 md:grid-cols-2 grid-cols-1 gap-3'>
{!postsToShow.length && (
<p className='text-gray-500 dark:text-gray-300'>No posts found.</p>
)}