Browse Source

Merge pull request #164 from comit-network/table-header

Remove the span that does not align the table header properly
fix-bad-api-calls
Daniel Karzel 3 years ago
committed by GitHub
parent
commit
1d63518b8b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      frontend/src/components/cfdtables/CfdTable.tsx

3
frontend/src/components/cfdtables/CfdTable.tsx

@ -208,9 +208,10 @@ export function Table({ columns, tableData, hiddenColumns, renderDetails }: Tabl
{...column.getHeaderProps(column.getSortByToggleProps())}
// @ts-ignore
isNumeric={column.isNumeric}
textAlign={"right"}
>
{column.render("Header")}
<chakra.span pl="4">
<chakra.span>
{// @ts-ignore
column.isSorted
? (

Loading…
Cancel
Save