Merged PR 186: Implement filterlists

This commit is contained in:
Eric Nguyen 2022-09-19 08:46:41 +00:00
parent 1091257281
commit 4b874dfff4
6 changed files with 55 additions and 5 deletions

View file

@ -4,7 +4,7 @@ import { ICategory } from '../../Interfaces/ICategory';
import { TruncateString } from '../../utils/stringtools';
interface ICategoryProps {
children: JSX.Element | JSX.Element[]
children: JSX.Element[]
category: ICategory
}
@ -22,7 +22,7 @@ export function Category(props: ICategoryProps): JSX.Element {
title={categoryDisplayedText}
>
<div
className='flex flex-row group cursor-pointer h-16'
className={'flex flex-row group h-16 cursor-pointer'}
onClick={() => setIsOpen(!isOpen)}
>
<span className={`transition-all flex-1 h-full justify-center sidebar-component-left ${isOpen ? 'rounded-b-none bg-slate-400/80 group-hover:bg-blue-600' : ''}`}>