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) (#26497)

Backport #26492 by @wxiaoguang

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

Co-authored-by: wxiaoguang <[email protected]>
  • Loading branch information
GiteaBot and wxiaoguang authored Aug 14, 2023
1 parent f1c5d33 commit d1a55aa
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 d1a55aa

Please sign in to comment.