adjustments

This commit is contained in:
2024-03-06 23:14:31 -05:00
parent 02ca1821bd
commit d126af05e1
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ export function NewsTable<TData, TValue>({
return ( return (
<div className="h-full"> <div className="h-full">
<Table> <Table className="h-full no-scrollbar">
{/* <TableHeader> {/* <TableHeader>
{table.getHeaderGroups().map((headerGroup) => ( {table.getHeaderGroups().map((headerGroup) => (
<TableRow key={headerGroup.id}> <TableRow key={headerGroup.id}>
@@ -58,7 +58,7 @@ export function NewsTable<TData, TValue>({
<TableRow <TableRow
key={row.id} key={row.id}
data-state={row.getIsSelected() && "selected"} data-state={row.getIsSelected() && "selected"}
className="text-sm text-white 2xl:text-base" className="text-sm text-white 2xl:text-base border-neutral-700"
> >
{row.getVisibleCells().map((cell) => ( {row.getVisibleCells().map((cell) => (
<TableCell key={cell.id} className="p-1 pl-4 overflow-hidden"> <TableCell key={cell.id} className="p-1 pl-4 overflow-hidden">
@@ -15,7 +15,7 @@ const HomepageModule = ({ title, children }: HomepageModuleProps) => {
{title} {title}
</div> </div>
</div> </div>
<div className="flex-grow w-full overflow-hidden mt-2 border-t border-neutral-400"> <div className="flex-grow w-full overflow-hidden mt-2 border-t border-neutral-700">
{children} {children}
</div> </div>
</div> </div>
+1 -1
View File
@@ -58,7 +58,7 @@ const TableRow = React.forwardRef<
<tr <tr
ref={ref} ref={ref}
className={cn( className={cn(
"border-b border-neutral-400 transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
className className
)} )}
{...props} {...props}