Showing
1 changed file
with
6 additions
and
2 deletions
... | @@ -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 | ... | ... |
-
Please register or login to post a comment