From b2cb65e942fd1089c345fbbc8f8bc445d04a2be4 Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Mon, 14 Oct 2019 19:13:00 +0200 Subject: [PATCH] Keep images from distorting or getting cropped Co-Authored-By: Alina Beck --- webapp/components/PostCard/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/components/PostCard/index.vue b/webapp/components/PostCard/index.vue index 66e42df26..85b19f105 100644 --- a/webapp/components/PostCard/index.vue +++ b/webapp/components/PostCard/index.vue @@ -135,6 +135,7 @@ export default { .ds-card-image img { width: 100%; max-height: 2000px; + object-fit: contain; -o-object-fit: cover; object-fit: cover; -o-object-position: center;