fix: preview image window proportion error (#4689)

pull/4691/head
啥也不会的帆 3 months ago committed by GitHub
parent 87798801fc
commit f6054b6138
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -172,7 +172,7 @@ const PreviewImageDialog: React.FC<Props> = ({ destroy, imgUrls, initialIndex }:
onClick={handleImgContainerClick}
>
<img
className="h-auto w-auto min-w-16 max-w-full max-h-full grow"
className="object-contain max-h-full max-w-full"
style={imageComputedStyle}
src={imgUrls[currentIndex]}
onClick={(e) => e.stopPropagation()}

Loading…
Cancel
Save