mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Move dropzone progress bar to bottom to show filename when uploading (#26492)
1. Make the "filename" visible 2. Avoiding UI flicker when the uploading is completing
This commit is contained in:
		@@ -51,3 +51,9 @@
 | 
				
			|||||||
.dropzone .dz-preview:hover .dz-image img {
 | 
					.dropzone .dz-preview:hover .dz-image img {
 | 
				
			||||||
  filter: opacity(0.5) !important;
 | 
					  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;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user