Commit 1f4d97a 1 parent 822c84b commit 1f4d97a Copy full SHA for 1f4d97a
File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 105
105
// so line-height = height / 2 - padding-top;
106
106
line-height : $upload-text-list-height / 2 - $s-1 ;
107
107
.#{$css-prefix } upload-list-item-progress {
108
+ line-height : 0 ;
109
+ padding-top : ($upload-text-list-height / 2 - $s-1 - $upload-text-list-progressbar-height ) / 2 ;
110
+ padding-bottom : ($upload-text-list-height / 2 - $s-1 - $upload-text-list-progressbar-height ) / 2 ;
108
111
.#{$css-prefix } progress-line-underlay {
109
112
height : $upload-text-list-progressbar-height ;
110
113
}
251
254
margin-left : $upload-image-list-item-picture-size + $thumbnail-margin-right ;
252
255
// 右边边 把 icon 的空间空出来
253
256
margin-right : $upload-image-list-close-icon-size + $upload-image-list-close-icon-right * 2 ;
254
- height : $upload-image-list-item-picture-size / 2 ;
255
- line-height : $upload-image-list-item-picture-size / 2 ;
257
+ line-height : 0 ;
258
+ padding-top : ($upload-image-list-item-picture-size / 2 - $upload-image-list-progressbar-height ) / 2 ;
259
+ padding-bottom : ($upload-image-list-item-picture-size / 2 - $upload-image-list-progressbar-height ) / 2 ;
256
260
257
261
.#{$css-prefix } progress-line-underlay {
258
262
height : $upload-image-list-progressbar-height ;
You can’t perform that action at this time.
0 commit comments