]> git.parisson.com Git - mezzo.git/commitdiff
Fix related content margin/padding
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Wed, 26 Oct 2016 12:15:58 +0000 (14:15 +0200)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Wed, 26 Oct 2016 12:15:58 +0000 (14:15 +0200)
app/templates/pages/departmentpage.html
app/templates/pages/page.html

index 2619c233af921eb6c4b36d2f0f3345eec64b26ac..288528b43e707e2531333d192b257924d762a21e 100644 (file)
@@ -70,7 +70,7 @@
     {% if page.departmentpage.department.articles.all %}
         <div class="white-bg pb2">
             <div class="page__block">
-                <hr />
+                <hr class="mt0" />
                 <div class="container">
                     <div class="row tac">
                         <div class="col-xs-12">
index 10a827bc1eb30ae86c774bedb14378201ed26230..c645fab1d30880982709dc8e236f8a870576dd52 100644 (file)
             {% block logo %}
             {% endblock %}
 
-            {% block page_related_content %}
-                {% with page.dynamic_content_pages.all as dynamic_content %}
-                    {% include "core/inc/related_content.html" %}
-                {% endwith %}
-            {% endblock %}
-
         </div>
 
     </div>
 
+    <div class="white-bg">
+
+        {% block page_related_content %}
+            {% with page.dynamic_content_pages.all as dynamic_content %}
+                {% include "core/inc/related_content.html" %}
+            {% endwith %}
+        {% endblock %}
+
+    </div>
+
 
 {% endblock %}