diff --git a/district/templates/district/district_contact_page.html b/district/templates/district/district_contact_page.html index c9c4668d9c69a6b403346f56abf9aa4e2d9bf944..79a5a1b1569b08ec4202ba3f128236a46354f31b 100644 --- a/district/templates/district/district_contact_page.html +++ b/district/templates/district/district_contact_page.html @@ -28,7 +28,7 @@ {% endif %} <div class="card elevation-3"> <div class="card__body"> - {% include "shared/person_badge_wide_snippet.html" with person_page=item.value.person title=item.value.position %} + {% include "shared/person_badge_wide_snippet.html" with person_page=item.value.person %} </div> </div> </div> diff --git a/shared/templates/shared/article_preview.html b/shared/templates/shared/article_preview.html index 3379cc9e0f3243e42beb58b6db95aed23d56c830..af8e77bb159bbaf2ed7b286c9ba4f5d7364aacfe 100644 --- a/shared/templates/shared/article_preview.html +++ b/shared/templates/shared/article_preview.html @@ -69,7 +69,7 @@ {{ article.title }} </h1> </a> - <p class="card-body-text flex-grow{% if article.is_black %} bg-black{% endif %}"> + <p class="card-body-text text-ellipsis overflow-hidden h-64 flex-grow{% if article.is_black %} bg-black{% endif %}"> {{ article.perex }} </p> <div class="inline-block-nogap mt-4">