From 05aeeafacc3d03f8efc4710e101c885142e536f8 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 2 Dec 2020 15:07:19 +0100 Subject: [PATCH] flows: fix header/footer moving around on login template when card changes size --- passbook/core/templates/login/base_full.html | 44 ++++++++++++-------- passbook/flows/templates/flows/shell.html | 30 ++++++------- 2 files changed, 42 insertions(+), 32 deletions(-) diff --git a/passbook/core/templates/login/base_full.html b/passbook/core/templates/login/base_full.html index 1954057e1..583978a5e 100644 --- a/passbook/core/templates/login/base_full.html +++ b/passbook/core/templates/login/base_full.html @@ -4,6 +4,16 @@ {% load i18n %} {% load passbook_utils %} +{% block head %} +{{ block.super }} + +{% endblock %} + {% block body %}
@@ -28,6 +38,23 @@

{{ config.passbook.branding.title }}

{% endif %}
+ {% block main_container %}
@@ -43,23 +70,6 @@
{% endblock %} - {% endblock %} diff --git a/passbook/flows/templates/flows/shell.html b/passbook/flows/templates/flows/shell.html index ed4950463..6d2f9993a 100644 --- a/passbook/flows/templates/flows/shell.html +++ b/passbook/flows/templates/flows/shell.html @@ -6,21 +6,21 @@ {% block head %} {{ block.super }} {% endblock %}