mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
Merge pull request #2215 from tangly1024/feat/theme-game
theme-game fix category style
This commit is contained in:
@@ -10,7 +10,7 @@ function GroupCategory({ currentCategory, categoryOptions }) {
|
||||
<Link className='mx-2' href='/category'>
|
||||
<i className='fas fa-bars' />
|
||||
</Link>
|
||||
<div id='category-list' className='dark:border-gray-600 flex py-1'>
|
||||
<div id='category-list' className='dark:border-gray-600 flex flex-wrap py-1'>
|
||||
{categoryOptions.map(category => {
|
||||
const selected = currentCategory === category.name
|
||||
return (
|
||||
@@ -22,7 +22,7 @@ function GroupCategory({ currentCategory, categoryOptions }) {
|
||||
selected
|
||||
? 'bg-green-500 text-white '
|
||||
: 'dark:text-gray-300 hover:bg-green-500 rounded-lg hover:text-white'
|
||||
} whitespace-nowrap overflow-ellipsis w-full items-center px-2 cursor-pointer py-1 font-bold`}>
|
||||
} whitespace-nowrap overflow-ellipsis items-center px-2 cursor-pointer py-1 font-bold`}>
|
||||
{/* <i
|
||||
className={`${selected ? 'text-white fa-folder-open' : 'fa-folder text-gray-400'} fas mr-2`}
|
||||
/> */}
|
||||
|
||||
Reference in New Issue
Block a user