Skip to content
Snippets Groups Projects
Commit 48a7e2ac authored by OndraPetrzilka's avatar OndraPetrzilka
Browse files

image changed to fill on main person page

parent 802a4b72
No related branches found
No related tags found
3 merge requests!607Pirati.cz,!587added main and profile picture to main person model, main_person template in...,!575Feature/pirati cz
Pipeline #9397 passed
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
<div class="flex flex-wrap"> <div class="flex flex-wrap">
<div class="flex mb-16 person-box-medium"> <div class="flex mb-16 person-box-medium">
<div class="shrink-0 mr-4"> <div class="shrink-0 mr-4">
{% image person.profile_image max-250x250 as profile_image %} {% image person.profile_image fill-250x250 as profile_image %}
<img <img
class="rounded-full shadow-sm w-20 mb-2 xl:w-44" class="rounded-full shadow-sm w-20 mb-2 xl:w-44"
src="{{ profile_image.url }}" src="{{ profile_image.url }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment