refactor(FE): Refactor table class names in DailyMarketingTab

This commit is contained in:
rstubryan
2026-02-13 09:42:04 +07:00
parent 684f67593f
commit 3a676723e4
@@ -725,10 +725,21 @@ const DailyMarketingTab = ({ tabId }: DailyMarketingTabProps) => {
columns={getTableColumns()} columns={getTableColumns()}
renderFooter={data.length > 0} renderFooter={data.length > 0}
className={{ className={{
containerClassName: cn('p-3', { containerClassName: 'w-full mb-0!',
'w-full mb-20': data.length === 0, tableWrapperClassName: 'overflow-x-auto',
}), tableClassName: 'w-full table-auto text-sm',
headerColumnClassName: 'text-nowrap', headerRowClassName: 'border-b border-b-gray-200 bg-gray-50',
headerColumnClassName:
'px-4 py-3 text-xs font-semibold text-gray-700 text-left border border-gray-200 text-nowrap',
bodyRowClassName:
'hover:bg-gray-50 transition-colors border-b border-l border-r border-b-gray-200 border-l-gray-200 border-r-gray-200',
bodyColumnClassName:
'px-4 py-3 text-xs text-gray-900 whitespace-nowrap',
tableFooterClassName:
'bg-gray-100 font-semibold border border-gray-200',
footerRowClassName: 'border-t-2 border-gray-300',
footerColumnClassName:
'px-4 py-3 text-xs text-gray-900 whitespace-nowrap',
}} }}
/> />
)} )}