refactor(dev-only): files table view
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user