From 5319bd52ecbbd13df4e3b679e2baec43a7972013 Mon Sep 17 00:00:00 2001 From: "jindra12.underdark" <jindra12.underdark@gmail.com> Date: Sun, 9 Apr 2023 00:11:35 +0200 Subject: [PATCH] Article perex should have height and no overflow --- shared/templates/shared/article_preview.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/templates/shared/article_preview.html b/shared/templates/shared/article_preview.html index 3379cc9e..af8e77bb 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"> -- GitLab