diff --git a/src/components/Dashboard/common/FileList.jsx b/src/components/Dashboard/common/FileList.jsx index a0b2bb8..9919579 100644 --- a/src/components/Dashboard/common/FileList.jsx +++ b/src/components/Dashboard/common/FileList.jsx @@ -24,7 +24,8 @@ const FileList = ({ showDownload = true, defaultPreviewOpen = false, minimal = false, - card = true + card = true, + maxWidth = '100%' }) => { const { fetchFileContent, flushFile } = useContext(ApiServerContext) const navigate = useNavigate() @@ -63,12 +64,23 @@ const FileList = ({ const filesToRender = multiple ? files : [files] const renderFileContent = (file) => ( - + - + @@ -76,50 +88,52 @@ const FileList = ({ {file.name || file.filename || 'Unknown file'} - {file.extension} - - - {showDownload && !minimal && ( -