Move message length information before the button

We feel that this is more appropriate because it’s part of the
information you’re agreeing to before you hit submit.

Sometimes users can missing information that doesn’t start left-aligned
to the column they’re interacting with.

It also makes it closer to the Design System component.

We’re keeping it in the sticky footer, so that it’s always visible no
matter where in the message you’re scrolled to (this means you won’t
have to edited to content then scroll down to check whether you’ve
made it fit).
This commit is contained in:
Chris Hill-Scott
2021-01-08 13:49:18 +00:00
parent 6f514ef019
commit c127de4268
7 changed files with 27 additions and 22 deletions

View File

@@ -490,10 +490,6 @@ def test_should_show_page_for_one_template(
'polite'
)
assert page.select_one('.page-footer')['class'] == [
'page-footer', 'page-footer--inline-block',
]
mock_get_service_template.assert_called_with(SERVICE_ONE_ID, template_id, None)
@@ -534,10 +530,6 @@ def test_broadcast_template_doesnt_highlight_placeholders_but_does_count_charact
'polite'
)
assert page.select_one('.page-footer')['class'] == [
'page-footer', 'page-footer--inline-block',
]
def test_caseworker_redirected_to_one_off(
client_request,