feat(event_page.html): add object-cover and limit max height to 256px
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user