mirror of
https://github.com/twentyhq/twenty.git
synced 2025-01-07 09:17:31 +03:00
Fix ScrollWrapper
This commit is contained in:
parent
9c29c436b9
commit
57cfd4db45
@ -72,7 +72,6 @@ const StyledTableContainer = styled.div`
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: auto;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
@ -116,10 +115,10 @@ export const RecordTable = ({ updateEntityMutation }: RecordTableProps) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<EntityUpdateMutationContext.Provider value={updateEntityMutation}>
|
<ScrollWrapper>
|
||||||
<StyledTableWithHeader>
|
<EntityUpdateMutationContext.Provider value={updateEntityMutation}>
|
||||||
<StyledTableContainer>
|
<StyledTableWithHeader>
|
||||||
<ScrollWrapper>
|
<StyledTableContainer>
|
||||||
<div ref={tableBodyRef}>
|
<div ref={tableBodyRef}>
|
||||||
<StyledTable className="entity-table-cell">
|
<StyledTable className="entity-table-cell">
|
||||||
<RecordTableHeader />
|
<RecordTableHeader />
|
||||||
@ -131,9 +130,9 @@ export const RecordTable = ({ updateEntityMutation }: RecordTableProps) => {
|
|||||||
onDragSelectionChange={setRowSelectedState}
|
onDragSelectionChange={setRowSelectedState}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</ScrollWrapper>
|
</StyledTableContainer>
|
||||||
</StyledTableContainer>
|
</StyledTableWithHeader>
|
||||||
</StyledTableWithHeader>
|
</EntityUpdateMutationContext.Provider>
|
||||||
</EntityUpdateMutationContext.Provider>
|
</ScrollWrapper>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user