Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Match the mobile search icon to the refresh button next to it

François Zaninotto4b47726fd046
diff --git a/src/components/atomic-crm/search/GlobalSearchButton.tsx b/src/components/atomic-crm/search/GlobalSearchButton.tsx
index beafec97..5c992486 100644
--- a/src/components/atomic-crm/search/GlobalSearchButton.tsx
+++ b/src/components/atomic-crm/search/GlobalSearchButton.tsx
@@ -58,10 +58,12 @@ export const GlobalSearchButton = ({
<Button
variant="ghost"
size="icon"
+ // same shape and icon size as its neighbour, MobileRefreshButton
+ className="rounded-full"
onClick={() => setOpen(true)}
aria-label={translate("crm.search.title")}
>
- <Search />
+ <Search className="size-5" />
</Button>
) : (
// Looks like a search field, so its purpose reads at a glance; the