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:
Chris Hill-Scott
2020-03-16 14:14:29 +00:00
parent 00f953de6d
commit 341b9009f3
6 changed files with 23 additions and 7 deletions

View File

@@ -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) == (

View File

@@ -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>'