Browse Source

adjust table styling

Milo Schwartz 8 months ago
parent
commit
edde7a247a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/app/[orgId]/sites/components/DataTable.tsx
  2. 1 1
      src/components/ui/table.tsx

+ 1 - 1
src/app/[orgId]/sites/components/DataTable.tsx

@@ -79,7 +79,7 @@ export function DataTable<TData, TValue>({
                     <Plus className="mr-2 h-4 w-4" /> Add Site
                     <Plus className="mr-2 h-4 w-4" /> Add Site
                 </Button>
                 </Button>
             </div>
             </div>
-            <div className="rounded-md border">
+            <div>
                 <Table>
                 <Table>
                     <TableHeader>
                     <TableHeader>
                         {table.getHeaderGroups().map((headerGroup) => (
                         {table.getHeaderGroups().map((headerGroup) => (

+ 1 - 1
src/components/ui/table.tsx

@@ -87,7 +87,7 @@ const TableCell = React.forwardRef<
 >(({ className, ...props }, ref) => (
 >(({ className, ...props }, ref) => (
   <td
   <td
     ref={ref}
     ref={ref}
-    className={cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className)}
+    className={cn("p-3 align-middle [&:has([role=checkbox])]:pr-0", className)}
     {...props}
     {...props}
   />
   />
 ))
 ))