refactor(FE-361): Remove wrapper top margin and clear table margin

This commit is contained in:
rstubryan
2025-12-09 18:51:36 +07:00
parent 066c356d4f
commit f87854ed07
@@ -403,7 +403,7 @@ const PurchasesPerSupplierTab = () => {
key={supplier.id}
title={supplier.supplier}
subtitle={`Total Pembelian: ${formatCurrency(totalPurchase)}`}
className={{ wrapper: 'mt-6 w-full' }}
className={{ wrapper: 'w-full' }}
collapsible={true}
>
<Table
@@ -412,6 +412,7 @@ const PurchasesPerSupplierTab = () => {
pageSize={10}
renderFooter={supplier.items.length > 0}
className={{
containerClassName: 'mb-0!',
tableWrapperClassName: 'overflow-x-auto mt-4',
tableClassName: 'w-full table-auto text-sm',
headerRowClassName: 'border-b border-b-gray-200 bg-gray-50',