From 3c0dbd3cb3e419b715bc6a9b57051d47bd0635f0 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 14 Oct 2022 17:36:01 -0400 Subject: [PATCH] SearchKit - Set button size default to `btn-xs` to match existing UI elements For buttons in a table, `xs` generally fits the best, so let's make that the default. --- .../managed/SavedSearch_Administer_Contact_Types.mgd.php | 2 +- .../managed/SavedSearch_Administer_Relationship_Types.mgd.php | 2 +- .../ang/crmSearchAdmin/crmSearchAdminDisplay.component.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Contact_Types.mgd.php b/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Contact_Types.mgd.php index 013a5f189b3d..8117c5da3fae 100644 --- a/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Contact_Types.mgd.php +++ b/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Contact_Types.mgd.php @@ -108,7 +108,7 @@ 'editable' => TRUE, ], [ - 'size' => 'btn-sm', + 'size' => 'btn-xs', 'links' => [ [ 'entity' => 'ContactType', diff --git a/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Relationship_Types.mgd.php b/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Relationship_Types.mgd.php index 66d63161689a..73c9b6338a53 100644 --- a/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Relationship_Types.mgd.php +++ b/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Relationship_Types.mgd.php @@ -98,7 +98,7 @@ 'editable' => TRUE, ], [ - 'size' => 'btn-sm', + 'size' => 'btn-xs', 'links' => [ [ 'entity' => 'RelationshipType', diff --git a/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js b/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js index 9299cd79ab69..6e78b8446de8 100644 --- a/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js +++ b/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js @@ -54,7 +54,7 @@ label: ts('Buttons'), icon: 'fa-square-o', defaults: { - size: 'btn-sm', + size: 'btn-xs', links: [] } },