Commit 488f64b2 authored by Joel's avatar Joel

feat: uploaded y spaceing and fixed negative progress

parent 831a5f6d
......@@ -51,7 +51,9 @@
@apply pl-1 cursor-pointer;
color: #155eef;
}
.fileList {
@apply space-y-2;
}
.file {
@apply box-border relative flex items-center justify-between;
padding: 8px 12px 8px 8px;
......
......@@ -266,7 +266,7 @@ const FileUploader = ({
<div className={s.size}>{getFileSize(fileItem.file.size)}</div>
</div>
<div className={s.actionWrapper}>
{fileItem.progress < 100 && (
{(fileItem.progress < 100 && fileItem.progress >= 0) && (
<div className={s.percent}>{`${fileItem.progress}%`}</div>
)}
{fileItem.progress === 100 && (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment