@@ -22,7 +22,7 @@ export const Table = forwardRef<HTMLTableElement, TableProps>(
2222          fullWidth  &&  "w-full" 
2323        ) } 
2424      > 
25-         < table  ref = { ref }  className = { cn ( "w-full divide-y " ,  className ) } > 
25+         < table  ref = { ref }  className = { cn ( "w-full" ,  className ) } > 
2626          { children } 
2727        </ table > 
2828      </ div > 
@@ -40,7 +40,10 @@ export const TableHeader = forwardRef<HTMLTableSectionElement, TableHeaderProps>
4040    return  ( 
4141      < thead 
4242        ref = { ref } 
43-         className = { cn ( "rounded-t-md" ,  "relative divide-y divide-grid-dimmed" ,  className ) } 
43+         className = { cn ( 
44+           "sticky top-0 z-10 divide-y divide-grid-dimmed rounded-t-md bg-background-dimmed after:absolute after:bottom-0 after:left-0 after:right-0 after:h-px after:bg-grid-dimmed" , 
45+           className 
46+         ) } 
4447      > 
4548        { children } 
4649      </ thead > 
@@ -56,7 +59,10 @@ type TableBodyProps = {
5659export  const  TableBody  =  forwardRef < HTMLTableSectionElement ,  TableBodyProps > ( 
5760  ( {  className,  children } ,  ref )  =>  { 
5861    return  ( 
59-       < tbody  ref = { ref }  className = { cn ( "relative divide-y divide-grid-dimmed" ,  className ) } > 
62+       < tbody 
63+         ref = { ref } 
64+         className = { cn ( "relative divide-y divide-grid-dimmed overflow-y-auto" ,  className ) } 
65+       > 
6066        { children } 
6167      </ tbody > 
6268    ) ; 
@@ -138,7 +144,7 @@ type TableCellProps = TableCellBasicProps & {
138144} ; 
139145
140146const  stickyStyles  = 
141-   "sticky right-0 z-10 w-[2.8rem] min-w-[2.8rem] bg-background-dimmed before:absolute before:pointer-events-none before:-left-8 before:top-0 before:h-full before:min-w-[2rem] before:bg-gradient-to-r before:from-transparent before:to-background before:content-[''] group-hover/table-row:before:to-charcoal-900 " ; 
147+   "sticky right-0 z-10 w-[2.8rem] min-w-[2.8rem] bg-background-dimmed before:absolute before:pointer-events-none before:-left-8 before:top-0 before:h-full before:min-w-[2rem]" ; 
142148
143149export  const  TableCell  =  forwardRef < HTMLTableCellElement ,  TableCellProps > ( 
144150  ( 
@@ -180,7 +186,7 @@ export const TableCell = forwardRef<HTMLTableCellElement, TableCellProps>(
180186        className = { cn ( 
181187          "text-xs text-charcoal-400" , 
182188          to  ||  onClick  ||  hasAction 
183-             ? "cursor-pointer group-hover/table-row:bg-charcoal-900 " 
189+             ? "cursor-pointer group-hover/table-row:bg-charcoal-800 " 
184190            : "px-3 py-3 align-middle" , 
185191          ! to  &&  ! onClick  &&  alignmentClassName , 
186192          isSticky  &&  stickyStyles , 
0 commit comments