From 966b2cb36a1bad64d92d12be5756c5dfb99bf8c2 Mon Sep 17 00:00:00 2001 From: Robert Martinez Date: Fri, 19 Oct 2018 11:50:01 +0200 Subject: [PATCH] Add white Card This puts pages on white cards. This lets the footer float underneath content instead of bottom of the page. This should fix issues with MR !1335 Reviewed-by: Joseph Nuthalapati --- plinth/modules/help/templates/help_index.html | 4 ++-- plinth/templates/base.html | 7 +------ plinth/templates/cards.html | 6 ++---- static/themes/default/css/plinth.css | 15 ++++++++++----- 4 files changed, 15 insertions(+), 17 deletions(-) diff --git a/plinth/modules/help/templates/help_index.html b/plinth/modules/help/templates/help_index.html index 16ef9560b..1d08ab091 100644 --- a/plinth/modules/help/templates/help_index.html +++ b/plinth/modules/help/templates/help_index.html @@ -23,7 +23,7 @@ {% load static %} {% block content %} - +

{% trans "Help" %}

@@ -59,7 +59,7 @@ #freedombox channel using the IRC web interface. {% endblocktrans %}

- +
{% endblock %} diff --git a/plinth/templates/base.html b/plinth/templates/base.html index 51bcf7ab4..241bd9621 100644 --- a/plinth/templates/base.html +++ b/plinth/templates/base.html @@ -219,10 +219,8 @@ {% block container %} -
-
+
{% block content_row %} -
{% block subsubmenu %} {% if subsubmenu %} {% show_subsubmenu subsubmenu %} @@ -234,14 +232,11 @@ {% block content %} {# main content goes here #} {% endblock %} -
{% endblock %} -
{% endblock %}