From a57b78f458dc0ba25c93994bdc4059612a681a30 Mon Sep 17 00:00:00 2001 From: Antonin Coquet <ext.sopra.acoquet@grandlyon.com> Date: Tue, 11 May 2021 17:04:35 +0200 Subject: [PATCH 1/2] fix: change posts image size --- src/app/post/components/post-card/post-card.component.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/post/components/post-card/post-card.component.scss b/src/app/post/components/post-card/post-card.component.scss index 8aad13d4b..e70aa377b 100644 --- a/src/app/post/components/post-card/post-card.component.scss +++ b/src/app/post/components/post-card/post-card.component.scss @@ -33,8 +33,8 @@ margin-bottom: 12px !important; .image { object-fit: cover; - height: 88px; - width: 195px; + max-height: 100%; + width: 90%; @media #{$large-phone} { height: 70px; } -- GitLab From b55d0457d9a4b7c66687f34e7677c1eec9164a36 Mon Sep 17 00:00:00 2001 From: Antonin Coquet <ext.sopra.acoquet@grandlyon.com> Date: Wed, 12 May 2021 10:20:44 +0200 Subject: [PATCH 2/2] fix: minor changes after test with prod img --- src/app/post/components/post-card/post-card.component.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/post/components/post-card/post-card.component.scss b/src/app/post/components/post-card/post-card.component.scss index e70aa377b..16ed503c9 100644 --- a/src/app/post/components/post-card/post-card.component.scss +++ b/src/app/post/components/post-card/post-card.component.scss @@ -33,8 +33,8 @@ margin-bottom: 12px !important; .image { object-fit: cover; - max-height: 100%; - width: 90%; + max-height: 180px; + max-width: 90%; @media #{$large-phone} { height: 70px; } -- GitLab