A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
fix(web): enabled drag and drop by moving file input on top of the button (#3529)
s3kfm0ac320b0e97d
diff --git a/apps/web/src/dialogs/resume/import.tsx b/apps/web/src/dialogs/resume/import.tsxindex 5d471a0a7..bfe2a67dc 100644--- a/apps/web/src/dialogs/resume/import.tsx+++ b/apps/web/src/dialogs/resume/import.tsx@@ -334,12 +334,18 @@ export function ImportResumeDialog(_: DialogProps<"resume.import">) {<FormLabel><Trans>File</Trans></FormLabel>- <FormControl>- <Input type="file" className="hidden" ref={inputRef} onChange={onUploadFile} />+ <FormControl className="group/upload relative">+ <Input+ type="file"+ className="absolute inset-0 z-1 h-full w-full cursor-pointer opacity-0"+ tabIndex={-1}+ ref={inputRef}+ onChange={onUploadFile}+ /><Buttonvariant="outline"- className="h-auto w-full flex-col border-dashed py-8 font-normal"+ className="h-auto w-full flex-col border-dashed py-8 font-normal group-hover/upload:bg-muted group-hover/upload:text-foreground"onClick={onSelectFile}>{field.state.value ? (