File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ export function DataTablePagination<TData>({
2222 table,
2323} : DataTablePaginationProps < TData > ) {
2424 return (
25- < div className = 'flex items-center justify-between overflow-auto px-2' >
25+ < div
26+ className = 'flex items-center justify-between overflow-clip px-2'
27+ style = { { overflowClipMargin : 1 } }
28+ >
2629 < div className = 'hidden flex-1 text-sm text-muted-foreground sm:block' >
2730 { table . getFilteredSelectedRowModel ( ) . rows . length } of{ ' ' }
2831 { table . getFilteredRowModel ( ) . rows . length } row(s) selected.
Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ export function DataTablePagination<TData>({
2222 table,
2323} : DataTablePaginationProps < TData > ) {
2424 return (
25- < div className = 'flex items-center justify-between overflow-auto px-2' >
25+ < div
26+ className = 'flex items-center justify-between overflow-clip px-2'
27+ style = { { overflowClipMargin : 1 } }
28+ >
2629 < div className = 'hidden flex-1 text-sm text-muted-foreground sm:block' >
2730 { table . getFilteredSelectedRowModel ( ) . rows . length } of{ ' ' }
2831 { table . getFilteredRowModel ( ) . rows . length } row(s) selected.
You can’t perform that action at this time.
0 commit comments