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