Fix table width

This commit is contained in:
Laurent Nguyen 2024-08-23 17:32:00 +02:00
parent e81408560e
commit 1f300e32fe
1 changed files with 1 additions and 1 deletions

View File

@ -530,7 +530,7 @@ const defaultMongoFilters = ['{"id":"foo"}', "{ qty: { $gte: 20 } }"];
type ExtendedDocumentId = DocumentId & { tableFields?: DocumentsTableComponentItem };
// This is based on some heuristics
const calculateOffset = (columnNumber: number): number => columnNumber * 16 - 59;
const calculateOffset = (columnNumber: number): number => columnNumber * 16 - 29;
// Export to expose to unit tests
export const DocumentsTabComponent: React.FunctionComponent<IDocumentsTabComponentProps> = ({