Move dropzone progress bar to bottom to show filename when uploading (#26492) (#26497)

Backport #26492 by @wxiaoguang

1. Make the "filename" visible
2. Avoiding UI flicker when the uploading is completing

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
pull/26498/head
Giteabot 1 year ago committed by GitHub
parent f1c5d33d3e
commit d1a55aabc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      web_src/css/features/dropzone.css

@ -51,3 +51,9 @@
.dropzone .dz-preview:hover .dz-image img {
filter: opacity(0.5) !important;
}
.ui .field .dropzone .dz-preview .dz-progress {
/* by default the progress-bar is vertically centered (top: 50%), it's better to put it after the "details (size, filename)",
then the layout from top to bottom is: size, filename, progress */
top: 7em;
}

Loading…
Cancel
Save