fix: the images in the image upload component are forced to enlarge #1039

This commit is contained in:
shuai
2024-07-24 10:57:04 +08:00
committed by dashuai
parent 3ff3d3e452
commit eeef73b3c3
+1 -2
View File
@@ -56,8 +56,7 @@ const Index: FC<Props> = ({
className={classNames(imgClassNames)}
src={value}
alt=""
height="100%"
width="100%"
style={{ maxWidth: '100%', maxHeight: '100%' }}
/>
</div>
<ButtonGroup vertical className="fit-content">