Skip to content

Commit

Permalink
Make dividers between sections in frequency table more distinct
Browse files Browse the repository at this point in the history
  • Loading branch information
phildarnowsky-broad committed Oct 8, 2024
1 parent fe95655 commit 0968b62
Show file tree
Hide file tree
Showing 4 changed files with 1,804 additions and 842 deletions.
8 changes: 6 additions & 2 deletions browser/src/VariantPage/PopulationsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ const Table = styled(BaseTable)`
}
`

const PopulationSection = styled.tbody`
border-top: 2px solid #333;
`

const TogglePopulationButton = styled(TextButton)`
display: inline-flex;
flex-direction: row;
Expand Down Expand Up @@ -304,7 +308,7 @@ export class PopulationsTable extends Component<PopulationsTableProps, Populatio
</tr>
</thead>
{renderedPopulations.map((pop, i) => (
<tbody key={(pop as any).id}>
<PopulationSection key={(pop as any).id}>
<tr
className={
i > 0 &&
Expand Down Expand Up @@ -347,7 +351,7 @@ export class PopulationsTable extends Component<PopulationsTableProps, Populatio
<td style={{ paddingLeft: '25px' }}>{renderPopAF(subPop.af)}</td>
</tr>
))}
</tbody>
</PopulationSection>
))}
<tfoot>
<tr className="border">
Expand Down
Loading

0 comments on commit 0968b62

Please sign in to comment.