Skip to content

Commit

Permalink
Prevent auto-sizing beyond 500px
Browse files Browse the repository at this point in the history
  • Loading branch information
jassmith committed Feb 21, 2022
1 parent 9e0a392 commit 2770819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/data-editor/use-cell-sizer.ts
Expand Up @@ -69,7 +69,7 @@ export function useCellSizer(

return {
...c,
width: biggest,
width: Math.min(500, biggest),
};
}) as SizedGridColumn[];
}, [columns]);
Expand Down

0 comments on commit 2770819

Please sign in to comment.