From ee1eaf659352a0a54c826fb40f9be03c5427d002 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 27 Aug 2022 21:57:17 +0100 Subject: [PATCH] Correctly set max height of list item --- static/src/scss/_listing.scss | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/static/src/scss/_listing.scss b/static/src/scss/_listing.scss index 9070719..d7b5a19 100644 --- a/static/src/scss/_listing.scss +++ b/static/src/scss/_listing.scss @@ -1,5 +1,6 @@ .listing-item { border-top: none !important; + max-height: 175px; .image-column { display: flex; @@ -10,16 +11,12 @@ width: 100%; } - .media img { + img { object-fit: cover; width: 100%; height: 175px; } - .media { - max-height: 175px; - } - .content-details { font-size: 80%; margin-top: $subtitle-negative-margin;