From 0c7009ddf18456b09d690fcbf214deccda2b2d41 Mon Sep 17 00:00:00 2001 From: slayernominee Date: Sun, 7 Jan 2024 13:57:34 +0100 Subject: [PATCH] file editor scroll --- app/dashboard/files/columns.tsx | 6 ++++-- app/dashboard/files/data-table.tsx | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/dashboard/files/columns.tsx b/app/dashboard/files/columns.tsx index 81f04bf..f77f120 100644 --- a/app/dashboard/files/columns.tsx +++ b/app/dashboard/files/columns.tsx @@ -76,13 +76,15 @@ export const columns: ColumnDef[] = [ accessorKey: "modified", header: ({ column }) => { return ( +
+
) }, cell: ({ row }) => { @@ -110,7 +112,7 @@ export const columns: ColumnDef[] = [ formatted = `${formatted}s` } - return
{formatted} ago
+ return
{formatted} ago
}, }, ] diff --git a/app/dashboard/files/data-table.tsx b/app/dashboard/files/data-table.tsx index c732f62..6aaeb50 100644 --- a/app/dashboard/files/data-table.tsx +++ b/app/dashboard/files/data-table.tsx @@ -55,7 +55,7 @@ export function DataTable({ return (
-
+
{table.getHeaderGroups().map((headerGroup) => (