From: Alexander Ebert Date: Thu, 1 Aug 2024 09:37:44 +0000 (+0200) Subject: Fix the aspect ratio of image previews X-Git-Tag: 6.1.0_Alpha_1~22 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=68e7b5a1c535d778e46404db485edce3b6dcbb5a;p=GitHub%2FWoltLab%2FWCF.git Fix the aspect ratio of image previews --- diff --git a/wcfsetup/install/files/style/ui/fileList.scss b/wcfsetup/install/files/style/ui/fileList.scss index 791b8acbed..f44f766eb0 100644 --- a/wcfsetup/install/files/style/ui/fileList.scss +++ b/wcfsetup/install/files/style/ui/fileList.scss @@ -79,3 +79,7 @@ .fileList__item__progress__readout { @include wcfFontSmall; } + +woltlab-core-file img { + object-fit: contain; +}