@@ -197,7 +197,7 @@ const Folder = forwardRef<HTMLDivElement, FolderProps & React.HTMLAttributes<HTM
197
197
< AccordionPrimitive . Item { ...props } value = { value } className = "relative -mb-3 size-full overflow-hidden pb-3" >
198
198
< AccordionPrimitive . Trigger
199
199
className = { cn (
200
- `flex w-full items-center gap-1 rounded-md text-sm px-5` ,
200
+ `flex w-full gap-1 rounded-md text-sm px-5` ,
201
201
className ,
202
202
{
203
203
'rounded-md' : isSelect && isSelectable ,
@@ -212,17 +212,17 @@ const Folder = forwardRef<HTMLDivElement, FolderProps & React.HTMLAttributes<HTM
212
212
>
213
213
< CanaryIcon
214
214
name = "chevron-right"
215
- className = { cn ( 'text-icons-1' , expendedItems ?. includes ( value ) && 'rotate-90' ) }
215
+ className = { cn ( 'text-icons-1 mt-1 ' , expendedItems ?. includes ( value ) && 'rotate-90' ) }
216
216
size = { 12 }
217
217
/>
218
- < div className = "flex w-full items-center justify-between" >
219
- < div className = "flex items-center " >
220
- { getStatusIcon ( status ) }
221
- < span className = "ml-1 leading-tight text-foreground-8" >
218
+ < div className = "flex w-full justify-between gap-x-2 " >
219
+ < div className = "flex gap-x-2 " >
220
+ < div className = "flex-none flex size-5 items-center justify-center" > { getStatusIcon ( status ) } </ div >
221
+ < span className = "leading-tight text-foreground-8 mt-0.5 text-left " >
222
222
{ element } < span className = "text-foreground-5" > ({ React . Children . count ( children ) } )</ span >
223
223
</ span >
224
224
</ div >
225
- < span className = "text-foreground-4" > { duration ?? '--' } </ span >
225
+ < span className = "flex-none text-foreground-4" > { duration ?? '--' } </ span >
226
226
</ div >
227
227
</ AccordionPrimitive . Trigger >
228
228
< AccordionPrimitive . Content className = "relative h-full overflow-visible px-5 text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down" >
@@ -300,12 +300,12 @@ const File = forwardRef<
300
300
selectItem ( value )
301
301
} }
302
302
>
303
- < div className = "relative flex w-full items-center justify-between pl-4" >
304
- < div className = "flex items-center " >
305
- { getStatusIcon ( status ) }
306
- < span className = "ml-1 leading-tight text-foreground-8" > { children } </ span >
303
+ < div className = "relative flex w-full justify-between pl-4 gap-x-2 " >
304
+ < div className = "flex gap-x-2 " >
305
+ < div className = "flex-none flex size-5 items-center justify-center" > { getStatusIcon ( status ) } </ div >
306
+ < span className = "leading-tight text-foreground-8 mt-0.5 text-left " > { children } </ span >
307
307
</ div >
308
- < span className = "text-foreground-4" > { duration ?? '--' } </ span >
308
+ < span className = "text-foreground-4 flex-none " > { duration ?? '--' } </ span >
309
309
</ div >
310
310
</ AccordionPrimitive . Trigger >
311
311
</ AccordionPrimitive . Item >
0 commit comments