Skip to content

Commit

Permalink
style: fix upload renderThumbnail img width & height
Browse files Browse the repository at this point in the history
  • Loading branch information
pointhalo committed Jul 15, 2024
1 parent 96eafe3 commit b12549c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/semi-ui/upload/fileCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@ class FileCard extends BaseComponent<FileCardProps, FileCardState> {
[`${prefixCls}-picture-file-card-show-pointer`]: typeof onPreviewClick !== 'undefined',
[`${prefixCls}-picture-file-card-error`]: status === strings.FILE_STATUS_UPLOAD_FAIL,
[`${prefixCls}-picture-file-card-uploading`]: showProgress,
[`${prefixCls}-picture-file-card-custom-thumbnail`]: customThumbnail

[`${prefixCls}-picture-file-card-custom-thumbnail`]: customThumbnail && picHeight && picWidth
});
const retry = (
<div role="button" tabIndex={0} className={`${prefixCls}-picture-file-card-retry`} onClick={e => this.onRetry(e)}>
Expand Down

0 comments on commit b12549c

Please sign in to comment.