From 50123c09ef7ee544d812a58a607d8a1e92369c4f Mon Sep 17 00:00:00 2001 From: welpo Date: Thu, 2 May 2024 00:17:49 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20ensure=20spacing=20when?= =?UTF-8?q?=20all=20projects=20are=20shown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #303. --- sass/parts/_posts_list.scss | 4 ++-- templates/partials/main_page_posts_list.html | 2 +- templates/partials/main_page_projects_list.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sass/parts/_posts_list.scss b/sass/parts/_posts_list.scss index 1f6ff38..1a9243a 100644 --- a/sass/parts/_posts_list.scss +++ b/sass/parts/_posts_list.scss @@ -80,8 +80,8 @@ margin-top: 4rem; } -.projects-first #all-projects { - margin-bottom: 4rem; +.projects-first #posts-list { + margin-top: 4rem; } @media only screen and (max-width: 1100px) { diff --git a/templates/partials/main_page_posts_list.html b/templates/partials/main_page_posts_list.html index 6455c7a..3c138a7 100644 --- a/templates/partials/main_page_posts_list.html +++ b/templates/partials/main_page_posts_list.html @@ -1,4 +1,4 @@ -
+
{{ macros_page_header::page_header(title=section.title) }}
diff --git a/templates/partials/main_page_projects_list.html b/templates/partials/main_page_projects_list.html index ceb1067..82f0637 100644 --- a/templates/partials/main_page_projects_list.html +++ b/templates/partials/main_page_projects_list.html @@ -9,7 +9,7 @@ {%- include "partials/cards_pages.html" -%} {%- endif -%} {%- if show_pages | length > max_projects -%} -