fix tables

This commit is contained in:
tehcoderer
2023-07-21 16:32:01 -04:00
parent ad440a5373
commit cd74832ded
2 changed files with 4 additions and 4 deletions

View File

@@ -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) => (