mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 20:59:28 -05:00
limit description in search to 2 lines
This commit is contained in:
@@ -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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user