feat: sticky headers

This commit is contained in:
TrèsAbhi committed 2024-07-12 13:01:10 -05:00
1 parent 3244a0fd8a
commit 7eb13c199b
10 files changed
+48 -46

No files matched your search

@@ -43,7 +43,12 @@ export const Total = memo<TotalProps>(
return (
<Table.Row>
<StickyRowHeaderCell>Total</StickyRowHeaderCell>
<StickyRowHeaderCell
// maxWidth={{ initial: '128px', sm: '240px' }}
style={{ overflow: 'hidden', display: 'flex' }}
>
Total
</StickyRowHeaderCell>
<Table.Cell align="center">{(winrate * 100).toFixed(1)}%</Table.Cell>
<Table.Cell align="center">{formatCompact(ratio * players)}</Table.Cell>
<Table.Cell align="center">{formatCompact(ratio * battles)}</Table.Cell>