Skip to content

Commit f0309a4

Browse files
authored
fix: Uploade 组件无法预览图片 (#2822)
1 parent ca4621e commit f0309a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/packages/uploader/uploader.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@
178178
display: flex;
179179
justify-content: center;
180180
align-items: center;
181-
height: 100%;
181+
width: var(--nutui-uploader-image-width, 100px);
182+
height: var(--nutui-uploader-image-height, 100px);
182183
position: initial;
183184
border-radius: $uploader-image-border-radius;
184185
}

0 commit comments

Comments
 (0)