fix: Position of arrows in Table chart (#18739)

* Fix arrow position

* Improve position

* Add right position

* Improve styling
This commit is contained in:
Geido
2022-02-22 15:42:05 +02:00
committed by GitHub
parent 7cad143ae6
commit a9a892945e
2 changed files with 11 additions and 6 deletions

View File

@@ -430,8 +430,15 @@ export default function TableChart<D extends DataRecord = DataRecord>(
}}
/>
) : null}
{label}
<SortIcon column={col} />
<div
css={{
display: 'inline-flex',
alignItems: 'center',
}}
>
<span>{label}</span>
<SortIcon column={col} />
</div>
</th>
),
Footer: totals ? (