mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 04:31:13 +00:00
fix tables
This commit is contained in:
@@ -159,8 +159,8 @@ export default function Table({
|
||||
|
||||
//@ts-ignore
|
||||
const getColumnWidth = (rows, accessor, headerText) => {
|
||||
const maxWidth = 180;
|
||||
const magicSpacing = 5;
|
||||
const maxWidth = 200;
|
||||
const magicSpacing = 12;
|
||||
const cellLength = Math.max(
|
||||
//@ts-ignore
|
||||
...rows.map((row) => getCellWidth(row, accessor)),
|
||||
@@ -473,7 +473,7 @@ export default function Table({
|
||||
<thead
|
||||
className="sticky top-0 bg-white dark:bg-grey-900"
|
||||
style={{
|
||||
fontSize: `${Number(fontSize) * 75}%`,
|
||||
fontSize: `${Number(fontSize) * 100}%`,
|
||||
}}
|
||||
>
|
||||
{table.getHeaderGroups().map((headerGroup, idx) => (
|
||||
|
||||
Reference in New Issue
Block a user