mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 13:39:41 -04:00
Style template length message to sit inline
This looks tidy, and because of the sticky footer it means the message is always visible, even if your template is quite long. So no matter where you’re scrolled to in the template you don’t have to scroll to the bottom to see the count update.
This commit is contained in:
@@ -490,6 +490,10 @@ 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)
|
||||
|
||||
|
||||
@@ -530,6 +534,10 @@ 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,
|
||||
|
||||
Reference in New Issue
Block a user