Show full event poster without crop: object-contain instead of object-cover
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
<div class="flex flex-col md:flex-row">
|
||||
<div class="md:w-[300px] flex-shrink-0">
|
||||
{% 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-[300px] object-contain">
|
||||
{% else %}
|
||||
<div class="w-full h-[250px] bg-gray-100 flex items-center justify-center">
|
||||
<span class="text-5xl opacity-20">📷</span>
|
||||
|
||||
Reference in New Issue
Block a user