From 1ebde62f2bdc786ce293af04e7a473158d5450fd Mon Sep 17 00:00:00 2001 From: "shahed.nasser" Date: Wed, 30 Sep 2020 14:15:40 +0300 Subject: [PATCH] fixed image height in card --- client/src/components/post-card/PostCard.styles.css | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/src/components/post-card/PostCard.styles.css b/client/src/components/post-card/PostCard.styles.css index e51c958..451daf6 100644 --- a/client/src/components/post-card/PostCard.styles.css +++ b/client/src/components/post-card/PostCard.styles.css @@ -12,7 +12,7 @@ border-radius: 10px; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); min-height: 100%; - max-height: 200px; + max-height: 100%; } #posts .post .post-description { @@ -91,9 +91,6 @@ } @media (max-width: 770px) { - #posts .post img.post-image { - max-height: 100%; - } .card-overlay { bottom: 5px; }