whole-tale / dashboard

Whole Tale Dashboard
http://wholetale.org
MIT License
7 stars 2 forks source link

Misc file upload fixes #596

Closed ThomasThelen closed 4 years ago

ThomasThelen commented 4 years ago

I had to do some file uploads today and I ran across #464 and #496. This PR has two quick one-line fixes for each one.

Fixes #464 Fixes #496

Demo of the overflow: https://recordit.co/F75IozP2xv

To Test:

  1. Check the branch out
  2. Deploy
  3. Navigate to a tale you own
  4. Upload many files to the workspace
  5. Note that the file box is now restricted and you can scroll (See demo)
  6. Upload a file with 0 bytes inside
  7. Note that you no longer see the javascript object (object object), but an error instead