Skip to content
Snippets Groups Projects
Commit 68457cea authored by xaralis's avatar xaralis Committed by jan.bednarik
Browse files

fix(district): person image with uneven aspect ratio

parent c3c01b02
No related branches found
No related tags found
2 merge requests!496Release,!491feat(district): rework election page tree from scratch, update to latest styleguide 2.10.0, load styleguide from CDN and more
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<div class="card__body p-4 lg:p-8"> <div class="card__body p-4 lg:p-8">
<div class="text-center mb-8"> <div class="text-center mb-8">
<div class="avatar avatar--2xl lg:avatar--3xl avatar--bordered candidate-detail__avatar"> <div class="avatar avatar--2xl lg:avatar--3xl avatar--bordered candidate-detail__avatar">
{% image page.profile_photo max-208x208 as profile_img %} {% image page.profile_photo fill-416x416 as profile_img %}
<img src="{{ profile_img.url }}" alt="Avatar"> <img src="{{ profile_img.url }}" alt="Avatar">
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment