Skip to content

Commit

Permalink
chore: Put origin img size to fill the box
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ authored and actions-user committed Sep 25, 2019
1 parent 6d7a87e commit e498480
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/upload/style/index.less
Expand Up @@ -161,6 +161,8 @@

> span {
display: block;
width: 100%;
height: 100%;
}

.@{iconfont-css-prefix}-loading,
Expand Down Expand Up @@ -378,6 +380,7 @@
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}

.@{upload-item}-name {
Expand Down

0 comments on commit e498480

Please sign in to comment.