mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-01 13:46:41 +00:00
Fix heuristic for size update
This commit is contained in:
parent
5d59c47979
commit
ea2ab19518
@ -448,7 +448,7 @@ export interface IDocumentsTabComponentProps {
|
|||||||
type ExtendedDocumentId = DocumentId & { tableFields?: DocumentsTableComponentItem };
|
type ExtendedDocumentId = DocumentId & { tableFields?: DocumentsTableComponentItem };
|
||||||
|
|
||||||
// This is based on some heuristics
|
// This is based on some heuristics
|
||||||
const calculateOffset = (columnNumber: number): number => columnNumber * 13.71428571 - 46;
|
const calculateOffset = (columnNumber: number): number => columnNumber * 16 - 59;
|
||||||
|
|
||||||
// Export to expose to unit tests
|
// Export to expose to unit tests
|
||||||
export const DocumentsTabComponent: React.FunctionComponent<IDocumentsTabComponentProps> = ({
|
export const DocumentsTabComponent: React.FunctionComponent<IDocumentsTabComponentProps> = ({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user