refactor(dev-only): files table view

This commit is contained in:
Aman Harwara
2022-12-24 16:48:55 +05:30
parent 7e7c5e14ab
commit 77cb6e7891
2 changed files with 7 additions and 5 deletions

View File

@@ -46,8 +46,8 @@ function TableRow<Data>({
key={index}
className={classNames(
'relative overflow-hidden border-b border-border py-3 px-3',
index === 0 && 'ml-3',
index === array.length - 1 && 'mr-3',
/* index === 0 && 'ml-3',
index === array.length - 1 && 'mr-3', */
row.isSelected && 'bg-info-backdrop',
canSelectRows && 'cursor-pointer',
canSelectRows && isHovered && 'bg-contrast',
@@ -95,7 +95,7 @@ function Table<Data>({ table }: { table: Table<Data> }) {
</div>
)}
<div
className="relative grid w-full overflow-x-hidden"
className="relative grid w-full overflow-x-hidden px-3"
role="grid"
aria-colcount={colCount}
aria-rowcount={rowCount}