mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Harmonise the typography when listing uploads
24px with 19px is what we use on the uploads page. On notifications page we use 19px with 16px. There’s some loose idea that the bigger size is for items that contain other items. This also increases the line height for recipients of PDF letters to make things line up.
This commit is contained in:
@@ -3920,7 +3920,7 @@ def test_choose_from_contact_list(
|
||||
template_id=template['id'],
|
||||
contact_list_id=expected_list_id,
|
||||
)
|
||||
assert normalize_spaces(page.select_one('.file-list-hint').text) == (
|
||||
assert normalize_spaces(page.select_one('.file-list-hint-large').text) == (
|
||||
expected_time
|
||||
)
|
||||
assert normalize_spaces(page.select_one('.big-number-smallest').text) == (
|
||||
|
||||
@@ -128,7 +128,7 @@ def test_get_upload_hub_page(
|
||||
'123 Example Street'
|
||||
)
|
||||
assert normalize_spaces(str(uploads[1].select_one('.govuk-body'))) == (
|
||||
'<p class="govuk-body govuk-!-margin-bottom-1"> '
|
||||
'<p class="govuk-body letter-recipient-summary"> '
|
||||
'Firstname Lastname<br/> '
|
||||
'123 Example Street<br/> '
|
||||
'</p>'
|
||||
|
||||
Reference in New Issue
Block a user