Skip to content

Commit 0c41f2f

Browse files
authored
Merge pull request #11 from devforth/AdminForth/744
feat:add custom class to the uploader
2 parents 103bd51 + da0998b commit 0c41f2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom/uploader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</button>
1313

1414
<label :for="inputId"
15-
class="flex flex-col px-3 items-center justify-center w-full h-64 border-2 border-dashed rounded-lg cursor-pointer dark:hover:bg-gray-800 hover:bg-gray-100 dark:hover:border-gray-500 dark:hover:bg-gray-600"
15+
class="af-uploader flex flex-col px-3 items-center justify-center w-full h-64 border-2 border-dashed rounded-lg cursor-pointer dark:hover:bg-gray-800 hover:bg-gray-100 dark:hover:border-gray-500 dark:hover:bg-gray-600"
1616
@dragover.prevent="() => dragging = true"
1717
@dragleave.prevent="() => dragging = false"
1818
@drop.prevent="onFileChange"

0 commit comments

Comments
 (0)