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 d83e7a8e9f
commit 38b4b4d994

View File

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