Show full poster image with object-contain and max-height 350px

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-03-20 17:47:56 +01:00
parent e18f79b2e5
commit cf32225c9a

View File

@@ -125,7 +125,7 @@
<h2 class="text-[10px] font-black uppercase tracking-widest text-white">Affiche</h2> <h2 class="text-[10px] font-black uppercase tracking-widest text-white">Affiche</h2>
</div> </div>
{% if event.eventMainPictureName %} {% if event.eventMainPictureName %}
<img src="{{ ('/uploads/events/' ~ event.eventMainPictureName) | imagine_filter('medium') }}" alt="{{ event.title }}" class="w-full h-[250px] object-cover"> <img src="{{ ('/uploads/events/' ~ event.eventMainPictureName) | imagine_filter('medium') }}" alt="{{ event.title }}" class="w-full max-h-[350px] object-contain">
{% else %} {% else %}
<div class="p-12 text-center bg-gray-50"> <div class="p-12 text-center bg-gray-50">
<div class="text-4xl mb-4 opacity-30">&#128247;</div> <div class="text-4xl mb-4 opacity-30">&#128247;</div>