Merged PR 186: Implement filterlists
This commit is contained in:
parent
1091257281
commit
4b874dfff4
6 changed files with 55 additions and 5 deletions
|
@ -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' : ''}`}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue