File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ const Threads: React.FC<ThreadsProps> = ({ onOpenExplore }: ThreadsProps) => {
3535
3636 return (
3737 < div
38- className = { `relative p-4 overflow-y-auto transition-[width] duration-300 ease-in-out ${ isCollapsed ? 'border-none w-[125px]' : 'w-[350px] border-r-1 dark:border-r-zinc-800' } ` }
38+ className = { `relative flex flex-col transition-[width] duration-300 ease-in-out ${ isCollapsed ? 'border-none w-[125px]' : 'w-[350px] border-r-1 dark:border-r-zinc-800' } ` }
3939 >
40- < div className = { `flex justify-between gap-0 mb-2` } >
40+ < div className = { `flex justify-between gap-0 mb-2 pt-4 px-4 ` } >
4141 < Tooltip
4242 content = { isCollapsed ? 'Expand threads' : 'Collapse threads' }
4343 placement = "top"
@@ -54,14 +54,17 @@ const Threads: React.FC<ThreadsProps> = ({ onOpenExplore }: ThreadsProps) => {
5454 isIconOnly
5555 />
5656 </ Tooltip >
57+
5758 < New onOpenExplore = { onOpenExplore } />
5859 </ div >
60+
61+ < Divider
62+ className = { `mb-4 transition-opacity duration-200 ${ isCollapsed ? 'opacity-0' : 'opacity-100' } ` }
63+ />
64+
5965 < div
60- className = { `transition-[width] duration-300 ease-in-out ${ isCollapsed ? 'w-0' : 'w-full' } ` }
66+ className = { `flex-1 h-full px-4 pb-4 overflow-y-auto transition-[width] duration-300 ease-in-out ${ isCollapsed ? 'w-0' : 'w-full' } ` }
6167 >
62- < Divider
63- className = { `mb-4 transition-opacity duration-200 ${ isCollapsed ? 'opacity-0' : 'opacity-100' } ` }
64- />
6568 < div
6669 className = { `mb-4 transition-opacity duration-200 ${ isCollapsed ? 'opacity-0' : 'opacity-100' } ` }
6770 >
You can’t perform that action at this time.
0 commit comments