图标大小
This commit is contained in:
tangly1024
2021-12-06 11:15:56 +08:00
parent 460f5fd262
commit 23f143bdd8
2 changed files with 6 additions and 6 deletions

View File

@@ -17,10 +17,10 @@ const BlogPostCard = ({ post, tags }) => {
</Link>
<div className='px-4 py-4 col-span-3'>
<div>
<div className='w-52'>
<Link href={`/category/${post.category}`} passHref>
<span className='cursor-pointer dark:text-gray-200 text-gray-400 text-sm py-1.5 mr-1 hover:underline hover:text-blue-500 transform'>
<FontAwesomeIcon icon={faFolder} className='mr-1' />{post.category}
<FontAwesomeIcon icon={faFolder} size='sm' className='mr-1 text-sm' />{post.category}
</span>
</Link>
<span className='mx-1 dark:text-gray-400'>|</span>