样式微调

This commit is contained in:
tangly1024
2021-11-08 13:30:23 +08:00
parent e8392ee033
commit 3845a113cf
3 changed files with 6 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ const BlogPostListScroll = ({ posts = [], tags, currentSearch, currentCategory,
if (!postsToShow || postsToShow.length === 0) {
return <BlogPostListEmpty currentSearch={currentSearch}/>
} else {
return <div id='post-list-wrapper' className='mt-20 mx-2 pt-10 md:mx-20' ref={targetRef}>
return <div id='post-list-wrapper' className='mt-20 mx-2 md:mx-20' ref={targetRef}>
{currentCategory && (
<div className='w-full p-1 bg-gray-100 dark:bg-gray-700'>