File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -233,17 +233,10 @@ const Table = () => {
233233 return (
234234 < Container className = "table" >
235235 < ReactTooltip />
236- < ReactTable
237- align = "center"
238- responsive
239- borderless
240- striped
241- hover
242- { ...getTableProps ( ) }
243- >
236+ < ReactTable align = "center" borderless striped hover { ...getTableProps ( ) } >
244237 < thead >
245238 { headerGroups . map ( headerGroup => (
246- < tr { ...headerGroup . getHeaderGroupProps ( ) } >
239+ < tr className = "sticky" { ...headerGroup . getHeaderGroupProps ( ) } >
247240 { headerGroup . headers . map ( column => (
248241 < th { ...column . getHeaderProps ( ) } >
249242 { column . render ( 'Header' ) }
Original file line number Diff line number Diff line change 77 display : none ;
88 }
99
10+ tr .sticky th {
11+ background : white ;
12+ position : sticky ;
13+ top : 0 ;
14+ }
15+
1016 .nav-link {
1117 padding : 0 ;
1218 }
You can’t perform that action at this time.
0 commit comments