diff --git a/frontend/src/components/DataTable.tsx b/frontend/src/components/DataTable.tsx index f08bb64..f247260 100644 --- a/frontend/src/components/DataTable.tsx +++ b/frontend/src/components/DataTable.tsx @@ -350,8 +350,12 @@ export default function DataTable({ {/* Wide screens: table. The wrapper isn't clipped so header filter popovers can overflow. */}
- - + {/* Sticky header row: the column headers stay put at the top of the page scroller while + the rows scroll under them. `bg-bg` on each cell keeps rows from showing through; the + border rides a pseudo-element (box-shadow) since a sticky 's own border scrolls + away with the collapsed table box in some browsers. */} + + {columns.map((col) => { const sorted_ = sort?.key === col.key; const filterOn = isActive(filters[col.key]); @@ -359,7 +363,7 @@ export default function DataTable({