#4141: Fixed stretched image in app detail page. (#4144)

Co-authored-by: Jeroen Reumkens <jeroen.reumkens@deptagency.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
pull/4149/head
Jeroen Reumkens 2022-09-04 22:25:32 +02:00 committed by GitHub
parent 45bdfcfb7d
commit 4ea29ed2ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ const Component = ({
key={img}
src={img}
alt={`Screenshot of app ${name}`}
className="mr-4 max-h-80 max-w-[90%] snap-center rounded-md last:mb-0 lg:mb-4 lg:mr-0 lg:max-w-full"
className="mr-4 h-auto max-h-80 max-w-[90%] snap-center rounded-md object-contain last:mb-0 md:max-h-min lg:mb-4 lg:mr-0 lg:max-w-full"
/>
))}
</div>