Просмотр исходного кода

Fix dropzone not adjust height when uploading large number of files

christianesperar 9 лет назад
Родитель
Сommit
1301f59dc4
3 измененных файлов с 15 добавлено и 1 удалено
  1. 7 0
      production/css/custom.css
  2. 1 1
      production/form_upload.html
  3. 7 0
      production/less/custom.css

+ 7 - 0
production/css/custom.css

@@ -4682,3 +4682,10 @@ ul.notifications {
   background: #ccc;
 }
 /** /FullCalendar **/
+
+/** Dropzone.js **/
+.dropzone {
+  min-height: 300px;
+  border: 1px solid #e5e5e5;
+}
+/** /Dropzone.js **/

+ 1 - 1
production/form_upload.html

@@ -356,7 +356,7 @@
                   </div>
                   <div class="x_content">
                     <p>Drag multiple files to the box below for multi upload or click to select files. This is for demonstration purposes only, the files are not uploaded to any server.</p>
-                    <form action="form_upload.html" class="dropzone" style="border: 1px solid #e5e5e5; height: 300px; "></form>
+                    <form action="form_upload.html" class="dropzone"></form>
                     <br />
                     <br />
                     <br />

+ 7 - 0
production/less/custom.css

@@ -4682,3 +4682,10 @@ ul.notifications {
   background: #ccc;
 }
 /** /FullCalendar **/
+
+/** Dropzone.js **/
+.dropzone {
+  min-height: 300px;
+  border: 1px solid #e5e5e5;
+}
+/** /Dropzone.js **/