@@ -4,15 +4,15 @@ import React, { useMemo, useRef, useState, useEffect } from "react";
4
4
import { Input } from "@/components/ui/input" ;
5
5
import { ScrollArea } from "@/components/ui/scroll-area" ;
6
6
import { Separator } from "@/components/ui/separator" ;
7
- import { Search , Loader2 , Trash2 , Eye } from "lucide-react" ;
7
+ import { Search , Loader2 , Trash2 } from "lucide-react" ;
8
8
import { cn } from "@/lib/utils" ;
9
9
import { ProjectFile } from "../../projects/ProjectsContext" ;
10
10
import { formatRelativeTime } from "../projects/project_utils" ;
11
11
import {
12
12
FileUploadIcon ,
13
13
ImageIcon as ImageFileIcon ,
14
14
} from "@/components/icons/icons" ;
15
- import { DocumentIcon } from "@/components/icons/CustomIcons" ;
15
+ import { DocumentIcon , OpenInNewIcon } from "@/components/icons/CustomIcons" ;
16
16
17
17
interface FilesListProps {
18
18
className ?: string ;
@@ -101,7 +101,7 @@ export default function FilesList({
101
101
102
102
return (
103
103
< div
104
- className = { cn ( "flex flex-col gap-3 focus:outline-none w-full" , className ) }
104
+ className = { cn ( "flex flex-col gap-2 focus:outline-none w-full" , className ) }
105
105
tabIndex = { - 1 }
106
106
onMouseDown = { ( e ) => {
107
107
// Prevent parent dialog from intercepting mouse events
@@ -169,7 +169,7 @@ export default function FilesList({
169
169
maxHeight : "588px" , // ~10.5 items * 56px per item
170
170
} }
171
171
>
172
- < ScrollArea ref = { scrollAreaRef } className = "h-full pr-2 " >
172
+ < ScrollArea ref = { scrollAreaRef } className = "h-full pr-1 " >
173
173
< div className = "flex flex-col" >
174
174
{ filtered . map ( ( f ) => (
175
175
< button
@@ -245,7 +245,10 @@ export default function FilesList({
245
245
onFileClick && onFileClick ( f ) ;
246
246
} }
247
247
>
248
- < Eye className = "h-4 w-4 text-neutral-600 hover:text-neutral-900 dark:text-neutral-400 dark:hover:text-neutral-200" />
248
+ < OpenInNewIcon
249
+ size = { 16 }
250
+ className = "text-neutral-600 hover:text-neutral-900 dark:text-neutral-400 dark:hover:text-neutral-200"
251
+ />
249
252
</ button >
250
253
) }
251
254
{ showRemove &&
0 commit comments