style: attachment upload button (#765)

This commit is contained in:
Anmol Singh Bhatia 2023-04-10 18:07:40 +05:30 committed by GitHub
parent 3618f79f89
commit fc48fb97d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ export const IssueAttachmentUpload = () => {
return (
<div
{...getRootProps()}
className={`flex items-center justify-center h-[60px] cursor-pointer border-2 border-dashed border-theme text-blue-500 bg-blue-500/5 text-sm rounded-md px-4 ${
className={`flex items-center justify-center h-[60px] cursor-pointer border-2 border-dashed border-theme text-blue-500 bg-blue-500/5 text-xs rounded-md px-4 ${
isDragActive ? "bg-theme/10" : ""
} ${isDragReject ? "bg-red-100" : ""}`}
>
@ -98,7 +98,7 @@ export const IssueAttachmentUpload = () => {
) : isLoading ? (
<p className="text-center">Uploading....</p>
) : (
<p className="text-center">Drag & Drop or Click to add new file</p>
<p className="text-center">Drag and drop/Click to add</p>
)}
</span>
</div>