From 1f300e32fe169a2831b6cd691cb20bd2de3d339f Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Fri, 23 Aug 2024 17:32:00 +0200 Subject: [PATCH] Fix table width --- src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx index 93b1ee1ac..4f4b2a2f7 100644 --- a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx +++ b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx @@ -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 = ({