From: Marcel Werk Date: Thu, 14 Apr 2022 12:26:23 +0000 (+0200) Subject: Attached images with mismatched proportions got mangled X-Git-Tag: 5.4.16~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=839444cdfca822c389a8dcda3434d53ee2297192;p=GitHub%2FWoltLab%2FWCF.git Attached images with mismatched proportions got mangled --- diff --git a/wcfsetup/install/files/style/ui/attachment.scss b/wcfsetup/install/files/style/ui/attachment.scss index 53419c36a5..0e9e8782c0 100644 --- a/wcfsetup/install/files/style/ui/attachment.scss +++ b/wcfsetup/install/files/style/ui/attachment.scss @@ -186,6 +186,7 @@ .attachmentTinyThumbnail { max-height: 64px; max-width: 64px; + object-fit: contain; } /* embedded images */