mirror of
https://github.com/usememos/memos.git
synced 2025-02-15 10:50:47 +01:00
feat: make file uplaod support drag/drop (#1129)
This commit is contained in:
parent
29b5c393d1
commit
bbc5ac9f0e
@ -170,7 +170,7 @@ const CreateResourceDialog: React.FC<Props> = (props: Props) => {
|
||||
Choose a file...
|
||||
</label>
|
||||
<input
|
||||
className="absolute inset-0 hidden"
|
||||
className="absolute inset-0 w-full h-full opacity-0"
|
||||
ref={fileInputRef}
|
||||
onChange={handleFileInputChange}
|
||||
type="file"
|
||||
|
Loading…
x
Reference in New Issue
Block a user