feat(event_page.html): add object-cover and limit max height to 256px

This commit is contained in:
2026-03-16 12:40:24 +01:00
parent 4e4774081e
commit 5aa4870d1e

View File

@@ -3,7 +3,7 @@
<h2 class="text-3xl font-bold mb-4">{{ page.title }}</h2> <h2 class="text-3xl font-bold mb-4">{{ page.title }}</h2>
{% if page.image %} {% if page.image %}
{% image page.image original alt=page.title class="w-full h-auto rounded-lg mb-3" %} {% image page.image original alt=page.title class="w-full max-h-64 rounded-lg mb-3 object-cover" %}
{% endif %} {% endif %}
<div class="flex items-center gap-2 text-gray-600 mb-2 text-sm"> <div class="flex items-center gap-2 text-gray-600 mb-2 text-sm">