fix: overflow on long content list tiles

This commit is contained in:
Per Stark
2025-06-08 20:34:34 +02:00
parent 37584ed9fd
commit 477f26174c
@@ -8,17 +8,15 @@
</figure> </figure>
{% endif %} {% endif %}
<div class="card-body"> <div class="card-body">
<div class="flex justify-between space-x-2"> <h2 class="card-title truncate">
<h2 class="card-title truncate"> {% if text_content.url_info %}
{% if text_content.url_info %} {{text_content.url_info.title}}
{{text_content.url_info.title}} {% elif text_content.file_info %}
{% elif text_content.file_info %} {{text_content.file_info.file_name}}
{{text_content.file_info.file_name}} {% else %}
{% else %} {{text_content.text}}
{{text_content.text}} {% endif %}
{% endif %} </h2>
</h2>
</div>
<div class="flex items-center justify-between"> <div class="flex items-center justify-between">
<p class="text-xs opacity-60"> <p class="text-xs opacity-60">
{{ text_content.created_at | datetimeformat(format="short", tz=user.timezone) }} {{ text_content.created_at | datetimeformat(format="short", tz=user.timezone) }}