diff --git a/src/modules/dashboard/dashboard.scss b/src/modules/dashboard/dashboard.scss index 9edc9cc..e906b5d 100644 --- a/src/modules/dashboard/dashboard.scss +++ b/src/modules/dashboard/dashboard.scss @@ -71,3 +71,10 @@ .container { margin-top: 24px; } + +.upload-button { + margin-top: 24px; + display: flex; + flex-direction: column; + align-items: flex-start; +} \ No newline at end of file diff --git a/src/modules/shared/UploadBucket.tsx b/src/modules/shared/UploadBucket.tsx index e95a606..21df623 100644 --- a/src/modules/shared/UploadBucket.tsx +++ b/src/modules/shared/UploadBucket.tsx @@ -58,26 +58,35 @@ export const UploadBucket = ({ const files = e.target.files; if (files && files.length > 0) { onChangeFile(files); + e.target.value = ''; } }} /> - - {errorMessage && ( - + + + + + Maximum upload file size: 50MB + + + {errorMessage && ( + {errorMessage} )} {file?.map((item, index) => (