Make sticky footer take up full width

So that we have space to display the message about how long the template
content is alongside the button, without the message wrapping.
This commit is contained in:
Chris Hill-Scott
2021-01-06 16:57:57 +00:00
parent 48577b823e
commit ca50d77ac2
2 changed files with 12 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
{% extends "withnav_template.html" %}
{% from "components/textbox.html" import textbox %}
{% from "components/page-header.html" import page_header %}
{% from "components/page-footer.html" import sticky_page_footer %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/form.html" import form_wrapper %}
{% block service_page_title %}
@@ -22,15 +22,15 @@
"classes": "govuk-!-width-full",
"hint": {"text": "Your recipients will not see this"}
}) }}
</div>
<div class="govuk-grid-column-two-thirds">
{{ textbox(form.template_content, highlight_placeholders=True, width='1-1', rows=5) }}
{% if current_user.platform_admin %}
{{ form.process_type }}
{% endif %}
{{ sticky_page_footer(
'Save'
) }}
</div>
<div class="govuk-grid-column-full">
<div class="js-stick-at-bottom-when-scrolling">
{{ page_footer('Save') }}
</div>
</div>
<aside class="govuk-grid-column-full">
{% include "partials/templates/guidance-personalisation.html" %}