limit description in search to 2 lines

This commit is contained in:
smilerz
2021-03-06 17:36:51 -06:00
parent d3e6b34a63
commit 1f5ddd9af7

View File

@@ -36,7 +36,7 @@
{{ rating|safe }} {{ rating|safe }}
</h5> </h5>
{%if row.record.description|length > 0 %} {%if row.record.description|length > 0 %}
<p class="card-subtitle p-0 m-0 text-muted"> <p class="card-subtitle p-0 m-0 text-muted" style="height:3em; overflow:hidden;">
{{ row.cells.description }} {{ row.cells.description }}
</p> </p>
{% endif %} {% endif %}