From 09e8edf9f90651700cf84fdf5077a6412399778e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Wed, 26 Oct 2016 14:15:58 +0200 Subject: [PATCH] Fix related content margin/padding --- app/templates/pages/departmentpage.html | 2 +- app/templates/pages/page.html | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/app/templates/pages/departmentpage.html b/app/templates/pages/departmentpage.html index 2619c233..288528b4 100644 --- a/app/templates/pages/departmentpage.html +++ b/app/templates/pages/departmentpage.html @@ -70,7 +70,7 @@ {% if page.departmentpage.department.articles.all %}
-
+
diff --git a/app/templates/pages/page.html b/app/templates/pages/page.html index 10a827bc..c645fab1 100644 --- a/app/templates/pages/page.html +++ b/app/templates/pages/page.html @@ -129,15 +129,19 @@ {% block logo %} {% endblock %} - {% block page_related_content %} - {% with page.dynamic_content_pages.all as dynamic_content %} - {% include "core/inc/related_content.html" %} - {% endwith %} - {% endblock %} -
+
+ + {% block page_related_content %} + {% with page.dynamic_content_pages.all as dynamic_content %} + {% include "core/inc/related_content.html" %} + {% endwith %} + {% endblock %} + +
+ {% endblock %} -- 2.39.5