mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 14:49:49 -04:00
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:
@@ -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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user