Fix the aspect ratio of image previews
authorAlexander Ebert <ebert@woltlab.com>
Thu, 1 Aug 2024 09:37:44 +0000 (11:37 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 1 Aug 2024 09:37:44 +0000 (11:37 +0200)
wcfsetup/install/files/style/ui/fileList.scss

index 791b8acbedad3d7544889cf2ad9860f0d0eac9ef..f44f766eb02b9afd384f907e8c2743200f444604 100644 (file)
@@ -79,3 +79,7 @@
 .fileList__item__progress__readout {
        @include wcfFontSmall;
 }
+
+woltlab-core-file img {
+       object-fit: contain;
+}