Skip to content

Commit

Permalink
Fix table overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
raix committed Jul 15, 2024
1 parent 9a7b2e1 commit c931f89
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ui/components/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ export { TableBody, useContextProps } from "react-aria-components";

export function Table(props: Readonly<TableProps>) {
return (
<ResizableTableContainer className="relative h-full w-full scroll-pt-[2.281rem] rounded-md">
<AriaTable {...props} className="border-separate border-spacing-0" />
</ResizableTableContainer>
<div className="h-full w-full overflow-hidden">
<ResizableTableContainer className="relative h-full w-full scroll-pt-[2.281rem] overflow-auto rounded-md">
<AriaTable {...props} className="border-separate border-spacing-0" />
</ResizableTableContainer>
</div>
);
}

Expand Down

0 comments on commit c931f89

Please sign in to comment.