Attached images with mismatched proportions got mangled
authorMarcel Werk <burntime@woltlab.com>
Thu, 14 Apr 2022 12:26:23 +0000 (14:26 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 14 Apr 2022 12:26:23 +0000 (14:26 +0200)
wcfsetup/install/files/style/ui/attachment.scss

index 53419c36a58e8d9b32da453b251cbcba9f3b1136..0e9e8782c04790318f22d28d998df2f5e92ddc98 100644 (file)
 .attachmentTinyThumbnail {
        max-height: 64px;
        max-width: 64px;
+       object-fit: contain;
 }
 
 /* embedded images */