fix(dashboard-v2): fix uploader responsiveness

This commit is contained in:
Michał Leszczyk 2022-03-01 18:05:57 +01:00
parent 227e931bf7
commit 527ec5acbf
No known key found for this signature in database
GPG Key ID: FA123CA8BAA2FBF4
1 changed files with 3 additions and 3 deletions

View File

@ -79,11 +79,11 @@ export default function UploaderItem({ onUploadStateChange, upload }) {
return ( return (
<div> <div>
<div className="flex items-center"> <div className="grid grid-cols-[40px_1fr_min-content]">
<div className="flex-shrink-0 w-[40px] h-[40px] p-1"> <div className="p-1">
<UploaderItemIcon status={upload.status} /> <UploaderItemIcon status={upload.status} />
</div> </div>
<div className="flex flex-col flex-grow ml-3 overflow-hidden"> <div className="flex flex-col ml-3 overflow-hidden">
<div className="text-palette-600"> <div className="text-palette-600">
<div className="truncate">{upload.file.name}</div> <div className="truncate">{upload.file.name}</div>
</div> </div>