@@ -335,8 +335,8 @@ export function DevlogList({
335335 < p className = "text-muted-foreground mb-4" > No devlogs found</ p >
336336 </ div >
337337 ) : (
338- < div className = { ` h-[calc(100%-4rem)] ${ loading ? 'overflow-y-hidden' : 'overflow-y-auto' } ` } >
339- < Table className = "h-[calc(100%-3rem)]" >
338+ < div className = { cn ( ' h-[calc(100%-4rem)] flex flex-col' , loading ? 'overflow-y-hidden' : 'overflow-y-auto' ) } >
339+ < Table >
340340 < TableHeader className = "sticky top-0 z-10 bg-background after:absolute after:left-0 after:right-0 after:bottom-0 after:h-px after:bg-border" >
341341 < TableRow >
342342 < TableHead className = "w-12" >
@@ -362,7 +362,7 @@ export function DevlogList({
362362 < TableHead className = "w-32" > Actions</ TableHead >
363363 </ TableRow >
364364 </ TableHeader >
365- < TableBody className = "min-h-[calc(100%-6rem)]" >
365+ < TableBody >
366366 { loading
367367 ? Array . from ( { length : 20 } ) . map ( ( _ , i ) => (
368368 < TableRow key = { `skeleton-${ i } ` } >
@@ -401,7 +401,7 @@ export function DevlogList({
401401 : devlogs . map ( ( devlog ) => (
402402 < TableRow
403403 key = { devlog . id }
404- className = "hover:bg-muted/50 cursor-pointer"
404+ className = "hover:bg-muted/50 cursor-pointer h-14 "
405405 onClick = { ( ) => onViewDevlog ( devlog ) }
406406 >
407407 < TableCell onClick = { ( e ) => e . stopPropagation ( ) } >
@@ -460,10 +460,13 @@ export function DevlogList({
460460 </ TableBody >
461461 </ Table >
462462
463+ { /* Gutter */ }
464+ < div className = "flex-1" />
465+
463466 { /* Pagination */ }
464467 { pagination && (
465468 < Pagination
466- className = "sticky bottom-0 z-10 h-12 bg-background border-t pr-4"
469+ className = "sticky bottom-0 w-full z-10 h-12 flex-shrink-0 bg-background border-t pr-4"
467470 pagination = { pagination }
468471 disabled = { loading }
469472 onPageChange = { onPageChange || ( ( ) => { } ) }
0 commit comments