Skip to content

Commit

Permalink
fixed table header ui
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinGreenwood committed Dec 5, 2024
1 parent beb956d commit 062430f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
21 changes: 9 additions & 12 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.15",
"@types/node": "^20",
"@types/react": "^18",
"@types/node": "20.17.9",
"@types/react": "18.3.13",
"@types/react-dom": "^18",
"@types/uuid": "^9.0.8",
"autoprefixer": "^10.0.1",
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.5",
"postcss": "^8",
"tailwindcss": "^3.3.0",
"typescript": "^5"
"typescript": "5.7.2"
}
}
2 changes: 1 addition & 1 deletion frontend/src/components/data-table/data-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export function DataTable<TData, TValue>({

<div className="flex-1 h-full overflow-auto border-t border-b border-border">
<Table>
<TableHeader className="sticky z-20 top-0 w-full bg-transparent">
<TableHeader className="sticky z-20 top-0 w-full bg-card dark:bg-card">
{table.getHeaderGroups().map((headerGroup) => (
<TableRow key={headerGroup.id} className="hover:bg-transparent">
{headerGroup.headers.map((header) => {
Expand Down

0 comments on commit 062430f

Please sign in to comment.