Skip to content

Commit

Permalink
Make DragDrop entirely clickable (#1633)
Browse files Browse the repository at this point in the history
* /examples/dev - added drag-drop plugin dev environment

* @uppy/drag-drop - moved isDragDropSupported() to @uppy/utils

* @uppy/drag-drop - got rid of drag-drop npm library

* examples/dev - made compiled files placed in /output instead of /lib

* ~/examples/dev - made watchify only watch files once

* @uppy/drag-drop - add onPaste

* /examples/dev - readded html css override-attempts

* @uppy/drag-drop - made whole area clickable, and made it accessible

* @uppy/drag-drop - removed excessive outline in firefox

* change dragText classname to browse, minor spacing and order changes
  • Loading branch information
lakesare authored and arturi committed Jun 19, 2019
1 parent 11a91e8 commit 0755798
Show file tree
Hide file tree
Showing 5 changed files with 125 additions and 116 deletions.
5 changes: 4 additions & 1 deletion examples/dev/DragDrop.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@
main {
text-align: center;
margin: 20px auto;
width: 400px;
max-width: 400px;
}
</style>
<main class="foo">
<h1>Drag-drop is here</h1>

<input type="text"/>
<div id="uppyDragDrop"></div>
<div id="uppyDragDrop-progress"></div>
<input type="text"/>
</main>

<link href="uppy.min.css" rel="stylesheet">
Expand Down
Loading

0 comments on commit 0755798

Please sign in to comment.