Skip to content

Commit

Permalink
add sticky top
Browse files Browse the repository at this point in the history
  • Loading branch information
shapiromatron committed Feb 13, 2024
1 parent 6b73c70 commit 4d7f820
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/Data/DatasetTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class DatasetTable extends Component {
<col key={i} width={width} />
))}
</colgroup>
<thead className="bg-custom">
<thead className="bg-custom sticky-top">
<tr>
{columnNames.map((column, i) => (
<th key={i}>{columnHeaders[column]}</th>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/IndividualModel/CDFTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class CDFTable extends Component {
<col width="50%" />
<col width="50%" />
</colgroup>
<thead>
<thead className="sticky-top">
<tr className="bg-custom text-left">
<th colSpan="2">CDF</th>
</tr>
Expand Down

0 comments on commit 4d7f820

Please sign in to comment.