김재형

Adjust FileListItem

...@@ -9,8 +9,12 @@ import { useDownload } from "./useDownload"; ...@@ -9,8 +9,12 @@ import { useDownload } from "./useDownload";
9 export function FileListItem({ item }: { item: FileItem }) { 9 export function FileListItem({ item }: { item: FileItem }) {
10 const download = useDownload(); 10 const download = useDownload();
11 return item.is_folder ? ( 11 return item.is_folder ? (
12 - <Link to={`/folder/${item.id}`}> 12 + <Link
13 - <FolderFilled /> {item.name} 13 + className="ant-btn ant-btn-link ant-btn-sm"
14 + to={`/folder/${item.id}`}
15 + style={{ padding: 0 }}
16 + >
17 + <FolderFilled /> <span>{item.name}</span>
14 </Link> 18 </Link>
15 ) : ( 19 ) : (
16 <Button 20 <Button
......