From dc64e2589dc4c7fb4eaad4fb8eca43e49209c224 Mon Sep 17 00:00:00 2001 From: welpo Date: Mon, 6 Mar 2023 11:45:20 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style:=20wrap=20post=20descripti?= =?UTF-8?q?on=20in=20`

`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/parts/_posts_list.scss | 2 +- templates/macros/list_posts.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sass/parts/_posts_list.scss b/sass/parts/_posts_list.scss index 68026acf6..fa8b041ea 100644 --- a/sass/parts/_posts_list.scss +++ b/sass/parts/_posts_list.scss @@ -45,7 +45,7 @@ } } - .description { + .description p { margin: 0.5rem 0 1rem; color: var(--text-color); font-family: var(--sans-serif-font); diff --git a/templates/macros/list_posts.html b/templates/macros/list_posts.html index e10f52fa9..3f6c2e3c8 100644 --- a/templates/macros/list_posts.html +++ b/templates/macros/list_posts.html @@ -32,9 +32,9 @@

{% if post.description %} - {{ post.description }} +

{{ post.description }}

{% elif post.summary %} - {{ post.summary | safe }}… +

{{ post.summary | safe }}…

{% endif %}