style: scroll data table instead of page

This commit is contained in:
zhom
2025-07-04 02:36:56 +04:00
parent eda83cf439
commit 51983bf3a5
3 changed files with 7 additions and 6 deletions
+3 -2
View File
@@ -30,6 +30,7 @@ import {
DropdownMenuSeparator,
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu";
import { ScrollArea } from "@/components/ui/scroll-area";
import {
Table,
TableBody,
@@ -510,7 +511,7 @@ export function ProfilesDataTable({
return (
<>
<div className="rounded-md border">
<ScrollArea className="h-[400px] rounded-md border">
<Table>
<TableHeader>
{table.getHeaderGroups().map((headerGroup) => (
@@ -559,7 +560,7 @@ export function ProfilesDataTable({
)}
</TableBody>
</Table>
</div>
</ScrollArea>
<Dialog
open={profileToRename !== null}