Skip to content

Commit

Permalink
Move dropzone progress bar to bottom to show filename when uploading (#…
Browse files Browse the repository at this point in the history
…26492)

1. Make the "filename" visible
2. Avoiding UI flicker when the uploading is completing
  • Loading branch information
wxiaoguang authored Aug 14, 2023
1 parent ed1be4c commit 253737e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions web_src/css/features/dropzone.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 253737e

Please sign in to comment.