From 5e6304af73eb26979386ff9643b49000853e97db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=20Valentov=C3=A1?= <git@imaniti.org> Date: Wed, 7 Aug 2024 14:15:28 +0200 Subject: [PATCH] fix images --- .../includes/organisms/candidates/candidate_primary_list.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/templates/styleguide2/includes/organisms/candidates/candidate_primary_list.html b/shared/templates/styleguide2/includes/organisms/candidates/candidate_primary_list.html index 98e2e609..7e203263 100644 --- a/shared/templates/styleguide2/includes/organisms/candidates/candidate_primary_list.html +++ b/shared/templates/styleguide2/includes/organisms/candidates/candidate_primary_list.html @@ -7,9 +7,9 @@ {% for candidate in self.candidates %} {% with candidate.page.specific as specific_page %} {% if candidate.image %} - {% image candidate.image max-756x756 as resized_candidate_image %} + {% image candidate.image fill-756x756 as resized_candidate_image %} {% else %} - {% image specific_page.image max-756x756 as resized_candidate_image %} + {% image specific_page.profile_image fill-756x756 as resized_candidate_image %} {% endif %} {% firstof candidate.description specific_page.perex as description %} -- GitLab