fix(upload): make entire dropzone clickable to open file picker
This commit is contained in:
@@ -21,11 +21,11 @@ const ClipUpload = () => {
|
|||||||
<div
|
<div
|
||||||
className="cursor-pointer rounded-lg border-2
|
className="cursor-pointer rounded-lg border-2
|
||||||
border-dashed border-hairline bg-dropzone
|
border-dashed border-hairline bg-dropzone
|
||||||
p-4 text-center text-sm text-text-secondary
|
text-center text-sm text-text-secondary
|
||||||
hover:bg-hover transition-colors duration-150
|
hover:bg-hover transition-colors duration-150
|
||||||
min-h-50 flex flex-col items-center justify-center gap-2"
|
min-h-50 flex flex-col items-center justify-center gap-2"
|
||||||
>
|
>
|
||||||
<label className="cursor-pointer block">
|
<label className="cursor-pointer flex flex-col items-center justify-center gap-2 w-full h-full">
|
||||||
Choose file
|
Choose file
|
||||||
<input
|
<input
|
||||||
type="file"
|
type="file"
|
||||||
|
|||||||
Reference in New Issue
Block a user