Skip to content

Commit 9a0707a

Browse files
committed
chore(ui): update style of upload's img-preview
1 parent 67172c7 commit 9a0707a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/ui/src/styles/components/upload.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
display: none;
55

66
@include e(picture-preview) {
7-
max-width: 100%;
8-
max-height: 100%;
9-
margin: auto;
7+
width: 100%;
8+
height: 100%;
9+
object-fit: contain;
1010
font-size: 0.9em;
1111
}
1212

0 commit comments

Comments
 (0)