#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>
This commit is contained in:
Jeroen Reumkens
2022-09-04 22:25:32 +02:00
committed by GitHub
co-authored by Jeroen Reumkens Peer Richelsen
parent 45bdfcfb7d
commit 4ea29ed2ac
+1 -1
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>