소스 검색

fix: overflow background in tables (#175)

Sat Naing 11 달 전
부모
커밋
a164b9e968
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/features/tasks/components/data-table.tsx
  2. 1 1
      src/features/users/components/users-table.tsx

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

@@ -66,7 +66,7 @@ export function DataTable<TData, TValue>({
   return (
     <div className='space-y-4'>
       <DataTableToolbar table={table} />
-      <div className='rounded-md border'>
+      <div className='overflow-hidden rounded-md border'>
         <Table>
           <TableHeader>
             {table.getHeaderGroups().map((headerGroup) => (

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

@@ -69,7 +69,7 @@ export function UsersTable({ columns, data }: DataTableProps) {
   return (
     <div className='space-y-4'>
       <DataTableToolbar table={table} />
-      <div className='rounded-md border'>
+      <div className='overflow-hidden rounded-md border'>
         <Table>
           <TableHeader>
             {table.getHeaderGroups().map((headerGroup) => (