mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
bugfix:
文章底部标签
This commit is contained in:
@@ -4,7 +4,7 @@ const TagItem = ({ tag, count }) => (
|
||||
<Link href={`/tag/${encodeURIComponent(tag)}`}>
|
||||
<div className="cursor-pointer hover:shadow hover:border-gray-600 rounded-md dark:border-gray-500 border hover:scale-105 hover:bg-gray-500 bg-gray-100 hover:text-white duration-200 mr-1 p-2 leading-none text-sm
|
||||
dark:bg-gray-500 dark:text-gray-100 dark:hover:bg-black">
|
||||
<span className='whitespace-nowrap'> <i className='fa fa-tag mr-1 '/> {tag}({count})</span>
|
||||
<span className='whitespace-nowrap'> <i className='fa fa-tag mr-1 '/> {tag}{count && `(${count})`}</span>
|
||||
</div>
|
||||
</Link>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user