瀏覽代碼

HUE-7492 [fb] Second upload from Upload button seems to error

Enrico Berti 8 年之前
父節點
當前提交
37d1d3b289

+ 2 - 2
apps/filebrowser/src/filebrowser/templates/listdir_components.mako

@@ -1888,8 +1888,8 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
           action: action,
           template: '<div class="qq-uploader" style="margin-left: 10px">' +
           '<div class="qq-upload-drop-area"><span>${_('Drop the files here to upload')}</span></div>' +
-          '<div class="qq-upload-button">${_('Select files')}</div> &nbsp; <span class="muted">or drag and drop them here</span>' +
-          '<ul class="qq-upload-list qq-upload-files unstyled" style="margin-right: 0;"></ul>' +
+          '<div class="qq-upload-button qq-no-float">${_('Select files')}</div> &nbsp; <span class="muted">${_('or drag and drop them here')}</span>' +
+          '<ul class="qq-upload-list qq-upload-files unstyled qq-no-float" style="margin-right: 0;"></ul>' +
           '</div>',
           fileTemplate: '<li><span class="qq-upload-file-extended" style="display:none"></span><span class="qq-upload-spinner hide" style="display:none"></span>' +
           '<div class="progress-row dz-processing">' +

文件差異過大導致無法顯示
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


文件差異過大導致無法顯示
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue3-extra.css


+ 4 - 0
desktop/core/src/desktop/static/desktop/less/components/hue-qq-upload.less

@@ -118,6 +118,10 @@
   list-style: none;
 }
 
+.qq-no-float {
+  float: none !important;
+}
+
 .qq-upload-list li {
   margin: 0;
   padding: 0;

部分文件因文件數量過多而無法顯示