Skip to content

Commit f7bf290

Browse files
committed
fix: users scroll
1 parent a288e75 commit f7bf290

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

apps/dashboard/app/(main)/websites/[id]/users/_components/users-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ export function UsersList({ websiteId }: UsersListProps) {
434434

435435
{/* Content */}
436436
<div className="flex min-h-0 flex-1 flex-col overflow-hidden">
437-
<div className="overflow-auto" ref={setScrollContainerRef}>
437+
<div className="h-full overflow-auto" ref={setScrollContainerRef}>
438438
<Table>
439439
<TableHeader className="sticky top-0 z-10 bg-muted/50 backdrop-blur-sm">
440440
{table.getHeaderGroups().map((headerGroup) => (

apps/dashboard/app/(main)/websites/[id]/users/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function UsersPage() {
2323
const { id: websiteId } = useParams();
2424

2525
return (
26-
<div>
26+
<div className="h-full">
2727
<UsersList websiteId={websiteId as string} />
2828
</div>
2929
);

bun.lock

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,9 +374,6 @@
374374
"resend": "^4.2.0",
375375
"zod": "catalog:",
376376
},
377-
"devDependencies": {
378-
"typescript": "catalog:",
379-
},
380377
},
381378
"packages/db": {
382379
"name": "@databuddy/db",

0 commit comments

Comments
 (0)