A full-featured CRM built with React, shadcn/ui, and Supabase.
Fix contact list on mobile doesn't need a card
fzaninottof3e64c6dc806
diff --git a/src/components/atomic-crm/contacts/ContactList.tsx b/src/components/atomic-crm/contacts/ContactList.tsxindex af6b856b..58224f94 100644--- a/src/components/atomic-crm/contacts/ContactList.tsx+++ b/src/components/atomic-crm/contacts/ContactList.tsx@@ -104,9 +104,7 @@ const ContactListLayoutMobile = () => {</MobileHeader><MobileContent><ContactListFilterSummary />- <Card className="py-0">- <ContactListContent />- </Card>+ <ContactListContent /><div className="flex justify-center"><InfinitePagination /></div>diff --git a/src/components/atomic-crm/contacts/ContactListContent.tsx b/src/components/atomic-crm/contacts/ContactListContent.tsxindex 25625d86..09b33267 100644--- a/src/components/atomic-crm/contacts/ContactListContent.tsx+++ b/src/components/atomic-crm/contacts/ContactListContent.tsx@@ -71,7 +71,7 @@ export const ContactListContent = () => {}return (- <div className="divide-y">+ <div className="md:divide-y">{contacts.map((contact) => (<RecordContextProvider key={contact.id} value={contact}>{isSmall ? (@@ -166,7 +166,7 @@ const ContactItemContentMobile = ({ contact }: { contact: Contact }) => {return (<Linkto={`/contacts/${contact.id}/show`}- className="flex flex-row gap-4 items-center px-4 py-2 hover:bg-muted transition-colors first:rounded-t-xl last:rounded-b-xl"+ className="flex flex-row gap-4 items-center py-2 hover:bg-muted transition-colors"><Avatar /><div className="flex flex-col grow justify-between">