mirror of
https://github.com/usememos/memos.git
synced 2025-11-17 22:49:42 +08:00
fix: preview image window proportion error (#4689)
This commit is contained in:
parent
87798801fc
commit
f6054b6138
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue