Preserve the aspect ratio for scaled images
authorAlexander Ebert <ebert@woltlab.com>
Wed, 5 May 2021 13:52:49 +0000 (15:52 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 5 May 2021 13:52:49 +0000 (15:52 +0200)
Specifying an explicit height requires `height: auto` to be set via CSS, otherwise scaling through `max-width: 100%` does not preserve the image's aspect ratio.


No differences found