Fix misaligned upload button when no letter permission

We should add spacing to the right, so if the first button is missing
the second one still sits flush-left.
This commit is contained in:
Chris Hill-Scott
2020-03-18 13:45:51 +00:00
parent 8f15eee5e0
commit 40ef8af39d

View File

@@ -38,14 +38,14 @@
"element": "a",
"text": "Upload a letter",
"href": url_for('.upload_letter', service_id=current_service.id),
"classes": "govuk-button--secondary"
"classes": "govuk-button--secondary govuk-!-margin-right-3"
}) }}
{% endif %}
{{ govukButton({
"element": "a",
"text": "Upload an emergency contact list",
"href": url_for('.upload_contact_list', service_id=current_service.id),
"classes": "govuk-button--secondary govuk-!-margin-left-3"
"classes": "govuk-button--secondary"
}) }}
</div>
{% endif %}