Skip to content

Commit a164b9e

Browse files
authored
fix: overflow background in tables (#175)
1 parent 679f32b commit a164b9e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/features/tasks/components/data-table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function DataTable<TData, TValue>({
6666
return (
6767
<div className='space-y-4'>
6868
<DataTableToolbar table={table} />
69-
<div className='rounded-md border'>
69+
<div className='overflow-hidden rounded-md border'>
7070
<Table>
7171
<TableHeader>
7272
{table.getHeaderGroups().map((headerGroup) => (

src/features/users/components/users-table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export function UsersTable({ columns, data }: DataTableProps) {
6969
return (
7070
<div className='space-y-4'>
7171
<DataTableToolbar table={table} />
72-
<div className='rounded-md border'>
72+
<div className='overflow-hidden rounded-md border'>
7373
<Table>
7474
<TableHeader>
7575
{table.getHeaderGroups().map((headerGroup) => (

0 commit comments

Comments
 (0)