From 041d51efc8e765141544926bed219a9cd3da327a Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Sun, 23 Jul 2023 12:41:07 -0600 Subject: [PATCH] Remove gap before delete button on contact --- css/civicrm.css | 4 ---- templates/CRM/Contact/Page/View/Summary.tpl | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/css/civicrm.css b/css/civicrm.css index eeb74ca080..0cbaa014e4 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -1472,10 +1472,6 @@ input.crm-form-entityref { list-style: none; } -#crm-container .crm-actions-ribbon li.crm-delete-action { - margin-left: 30px; -} - #crm-container .crm-actions-ribbon li.crm-previous-action, #crm-container .crm-actions-ribbon li.crm-next-action { float: right; diff --git a/templates/CRM/Contact/Page/View/Summary.tpl b/templates/CRM/Contact/Page/View/Summary.tpl index e785c9af6e..bf8cb09542 100644 --- a/templates/CRM/Contact/Page/View/Summary.tpl +++ b/templates/CRM/Contact/Page/View/Summary.tpl @@ -64,7 +64,7 @@ {/if} {elseif call_user_func(array('CRM_Core_Permission','check'), 'delete contacts')} -
  • +
  • {crmButton p='civicrm/contact/view/delete' q="reset=1&delete=1&cid=$contactId" class="delete" icon="trash"} {ts}Delete Contact{/ts} {/crmButton} -- 2.25.1