修复fontawesome尺寸问题
This commit is contained in:
tangly1024
2021-12-08 15:40:15 +08:00
parent 980531b1ee
commit 04ec195520
6 changed files with 13 additions and 13 deletions

View File

@@ -13,7 +13,7 @@ const CategoryGroup = ({ currentCategory, categories }) => {
? 'bg-gray-200 dark:bg-black text-black dark:text-white'
: 'dark:text-gray-400 text-gray-500') +
' duration-300 hover:text-blue-500 dark:hover:text-blue-400 hover:underline px-5 cursor-pointer py-2'}>
<FontAwesomeIcon icon={selected ? faFolderOpen : faFolder} className={`${selected ? 'text-black dark:text-white' : 'text-gray-400'} mr-2 `} />{category}({categories[category]})</div>
<FontAwesomeIcon icon={selected ? faFolderOpen : faFolder} className={`${selected ? 'text-black dark:text-white' : 'text-gray-400'} mr-2 w-5`} />{category}({categories[category]})</div>
</Link>
})}
</div>