fix: stop dragging on storage image

This commit is contained in:
Alaister Young committed 2022-09-21 17:56:55 +10:00
1 parent f6a8c6b713
commit 1deff4565f
2 files changed
+3 -2

No files matched your search

@@ -233,7 +233,7 @@ const FileExplorerColumn = ({
{/* Drag drop upload CTA for when column is empty */}
{column.items.length === 0 && column.status !== STORAGE_ROW_STATUS.LOADING && (
<div className="h-full w-full flex flex-col items-center justify-center">
<img src="/img/storage-placeholder.svg" className="opacity-75" />
<img src="/img/storage-placeholder.svg" className="opacity-75 pointer-events-none" />
<p className="my-3 opacity-75">Drop your files here</p>
<p className="text-sm text-center w-40 text-scale-1100">
Or upload them via the "Upload file" button above
+2 -1
View File
@@ -14,7 +14,8 @@
"isolatedModules": true,
"jsx": "preserve",
"baseUrl": ".",
"downlevelIteration": true
"downlevelIteration": true,
"incremental": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
"exclude": ["node_modules"]