From 7f27dee2c8e59115106e44caf6a3d93eb90dd83f Mon Sep 17 00:00:00 2001 From: cheyennelu17 Date: Mon, 18 May 2026 01:40:56 -0700 Subject: [PATCH 1/7] finished all tables styling move to global except Stores --- app/(main)/components/ItemSearch.tsx | 2 + app/(main)/components/StoresList.tsx | 9 ++- .../components/TicketStatusDropdown.tsx | 1 + app/(main)/hq/page.tsx | 6 ++ .../components/IncomingTicket.module.css | 61 -------------- .../components/IncomingTicketCard.module.css | 9 +++ .../components/IncomingTicketCard.tsx | 2 +- .../components/IncomingTicketsList.tsx | 17 ++-- .../components/OutgoingTicket.module.css | 79 ------------------- .../components/OutgoingTicketCard.module.css | 13 +++ .../components/OutgoingTicketCard.tsx | 2 +- .../components/OutgoingTicketsList.tsx | 18 ++--- .../people/[userId]/components/Dropdown.tsx | 1 + .../team/people/components/UserSearch.tsx | 1 + .../people/components/UsersList.module.css | 12 --- .../team/people/components/UsersList.tsx | 11 ++- app/globals.css | 50 +++++++++++- 17 files changed, 103 insertions(+), 191 deletions(-) delete mode 100644 app/(main)/incoming-tickets/[storeId]/components/IncomingTicket.module.css create mode 100644 app/(main)/incoming-tickets/[storeId]/components/IncomingTicketCard.module.css delete mode 100644 app/(main)/outgoing-tickets/components/OutgoingTicket.module.css create mode 100644 app/(main)/outgoing-tickets/components/OutgoingTicketCard.module.css delete mode 100644 app/(main)/team/people/components/UsersList.module.css diff --git a/app/(main)/components/ItemSearch.tsx b/app/(main)/components/ItemSearch.tsx index 28cc002e..d54a8037 100644 --- a/app/(main)/components/ItemSearch.tsx +++ b/app/(main)/components/ItemSearch.tsx @@ -93,6 +93,7 @@ export default function ItemSearch({ categories, subcategories }: Props) { handleSubcategoryChange(e.target.value)} + className="form-select w-auto dropdown" > {filteredSubcategories.map((subcategory) => ( diff --git a/app/(main)/components/StoresList.tsx b/app/(main)/components/StoresList.tsx index a7559b9f..81d7282f 100644 --- a/app/(main)/components/StoresList.tsx +++ b/app/(main)/components/StoresList.tsx @@ -9,6 +9,7 @@ import ViewToggle, { ViewMode } from '@/app/(main)/components/ViewToggle'; import Image from 'next/image'; import styles from '@/app/(main)/components/StoresList.module.css'; import defaultStorePhoto from '@/public/image-placeholder.svg'; +import { Table } from 'react-bootstrap'; export default function StoresList({ stores }: { stores: Store[] }) { const [view, setView] = useState('grid'); @@ -27,8 +28,8 @@ export default function StoresList({ stores }: { stores: Store[] }) { ))} ) : ( - - +
+ @@ -36,7 +37,7 @@ export default function StoresList({ stores }: { stores: Store[] }) { {stores?.map((store) => ( - + -
NAME ADDRESS
))}
+ )} ); diff --git a/app/(main)/components/TicketStatusDropdown.tsx b/app/(main)/components/TicketStatusDropdown.tsx index d8fed11f..4b58667d 100644 --- a/app/(main)/components/TicketStatusDropdown.tsx +++ b/app/(main)/components/TicketStatusDropdown.tsx @@ -40,6 +40,7 @@ export default function TicketStatusDropdown({ setSelectedStatus(e.target.value)} + className="form-select w-auto dropdown" > {statusOptions.map((statusOption) => (