update some of the listing

This commit is contained in:
Nate Kelley 2025-02-18 20:34:00 -07:00
parent 3dc28509d9
commit 88ac6d744e
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
4 changed files with 6 additions and 5 deletions

View File

@ -49,7 +49,8 @@ export const BusterListHeader: React.FC<{
key={column.dataIndex}
style={{
width: column.width || '100%',
flex: column.width ? 'none' : 1
flex: column.width ? 'none' : 1,
paddingLeft: showCheckboxColumn ? undefined : '0px'
}}>
{column.headerRender ? (
column.headerRender(column.title)
@ -77,7 +78,7 @@ const useStyles = createStyles(({ token, css }) => ({
border-bottom: 0.5px solid ${token.colorBorder};
.header-cell {
padding: 0 4px;
padding: 0 0px;
height: 100%;
// &:first-child {

View File

@ -65,7 +65,7 @@ export const BusterListSectionComponent = React.memo(
<CheckboxColumn checkStatus={checkStatus} onChange={onChange} />
)}
<div className={cx('flex items-center space-x-2 leading-none', 'pl-[4px]')}>
<div className={cx('flex items-center space-x-2 pl-[0px] leading-none')}>
<Text size="sm">{rowSection.title}</Text>
<Text size="sm" type="tertiary">
{rowSection.secondaryTitle}

View File

@ -108,7 +108,7 @@ export const BusterListVirtua = React.memo(
{showHeader && !showEmptyState && (
<BusterListHeader
columns={columns}
onGlobalSelectChange={onGlobalSelectChange}
onGlobalSelectChange={onSelectChange ? onGlobalSelectChange : undefined}
globalCheckStatus={globalCheckStatus}
rowsLength={rows.length}
showSelectAll={showSelectAll}

View File

@ -20,9 +20,9 @@ export const CheckboxColumn: React.FC<{
<div
onClick={onClickStopPropagation}
className={cx(
className,
styles.checkboxColumn,
'flex items-center justify-center opacity-0',
className,
'group-hover:opacity-100',
showBox ? 'opacity-100' : ''
)}>