From 05dd4bf9a7f9a7733047328f907511f73a07af2c Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 4 Jun 2019 11:29:42 +0100 Subject: [PATCH] Make column widths consistent with other pages Pages within a service use a 2/8, 5/8, 1/8 grid. The content pages use a 1/4, 3/4 grid, for consistency with the product page template. But I feel like the internal consistency is more important, and it feels weird for the main content column to jump about. --- app/templates/content_template.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/app/templates/content_template.html b/app/templates/content_template.html index d690e1fb6..95c0f63f1 100644 --- a/app/templates/content_template.html +++ b/app/templates/content_template.html @@ -7,15 +7,22 @@ {% endblock %} {% block maincolumn_content %} +
+ {% if navigation_links %} -
+
{{ sub_navigation(navigation_links) }}
+
+ {% else %} +
{% endif %} -
- {% block content_column_content %} - {% endblock %} + + {% block content_column_content %} + {% endblock %} +
+ {% endblock %}