Skip to content

Commit

Permalink
Merge pull request #2215 from tangly1024/feat/theme-game
Browse files Browse the repository at this point in the history
theme-game fix category style
  • Loading branch information
tangly1024 committed Mar 24, 2024
2 parents cede526 + 103982d commit 89dbf49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/game/components/GroupCategory.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand All @@ -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`}
/> */}
Expand Down

0 comments on commit 89dbf49

Please sign in to comment.