From e68e5a6d5167ce4f03fa281de77a307b20753cf8 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Wed, 28 Jan 2026 11:10:37 +0700 Subject: [PATCH] refactor(FE): Refine Purchases per Supplier styles and page size --- .../tab/PurchasesPerSupplierTab.tsx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/components/pages/report/logistic-stock/tab/PurchasesPerSupplierTab.tsx b/src/components/pages/report/logistic-stock/tab/PurchasesPerSupplierTab.tsx index c01eeb61..71668da0 100644 --- a/src/components/pages/report/logistic-stock/tab/PurchasesPerSupplierTab.tsx +++ b/src/components/pages/report/logistic-stock/tab/PurchasesPerSupplierTab.tsx @@ -880,18 +880,25 @@ const PurchasesPerSupplierTab = () => { key={supplierReport.supplier.id} title={supplierReport.supplier.name} subtitle={`Total Pembelian: ${formatCurrency(totalPurchase)}`} - className={{ wrapper: 'w-full' }} + className={{ + wrapper: 'w-full rounded-2xl', + body: 'p-0', + title: + 'py-1.5 px-3 bg-primary text-white text-lg font-normal', + subtitle: + 'px-3 pb-1 bg-primary text-white text-sm font-normal', + }} variant='bordered' collapsible={true} > 0} className={{ - containerClassName: 'w-full', - tableWrapperClassName: 'overflow-x-auto mt-4', + containerClassName: 'w-full mb-0!', + tableWrapperClassName: 'overflow-x-auto', tableClassName: 'w-full table-auto text-sm', headerRowClassName: 'border-b border-b-gray-200 bg-gray-50', headerColumnClassName: