Skip to content
Snippets Groups Projects
Commit b0f6f947 authored by Štěpán Farka's avatar Štěpán Farka Committed by jan.bednarik
Browse files

[FIX] image width

parent 5aebea69
No related branches found
No related tags found
2 merge requests!550Release,!549Misc enhancements 9
......@@ -22,7 +22,7 @@
</div>
<div class="md:col-span-4 order-1 md:order-2 md:row-span-3">
{% image self.image width-495 as img %}
{% image self.image width-572 as img %}
<img src="{{ img.url }}" alt="" class="object-contain h-32 md:h-64 lg:h-80 m-auto block">
</div>
</div>
......
......@@ -112,8 +112,8 @@
{% for program_point in page.program_points %}
<div class="card card--hoveractive">
<a href="{% pageurl program_point %}">
{% image program_point.image width-192 as list_image %}
<img src="{{ list_image.url }}" alt="{{ program_point.title }}" class="w-full h-48 object-fit">
{% image program_point.image width-357 as list_image %}
<img src="{{ list_image.url }}" alt="{{ program_point.title }}" class="w-full h-48 object-cover">
</a>
<div class="card__body p-4">
<h1 class="card-headline mb-2">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment