Fix last record row cells are cropped when selected (#9678)

Before
<img width="432" alt="Capture d’écran 2025-01-16 à 14 52 34"
src="https://github.com/user-attachments/assets/0d23c48a-ad27-49ee-9194-7ae12397f928"
/>

After
<img width="503" alt="Capture d’écran 2025-01-16 à 14 51 55"
src="https://github.com/user-attachments/assets/c8b1c8d1-8655-48f0-81fc-d451878e0d10"
/>

---------

Co-authored-by: Weiko <corentin@twenty.com>
This commit is contained in:
Marie
2025-01-16 15:14:06 +01:00
committed by GitHub
parent f545bd1c40
commit 446bbdbd96
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ const StyledBaseContainer = styled.div<{
outline: ${({ hasSoftFocus, fontColorExtraLight }) =>
hasSoftFocus ? `1px solid ${fontColorExtraLight}` : 'none'};
z-index: 5;
`;
export const RecordTableCellBaseContainer = ({

View File

@ -51,7 +51,7 @@ const StyledTableRow = styled.tr<{
}
}
position: sticky;
z-index: 5;
z-index: 4;
background: ${({ theme }) => theme.background.primary};
${({ endOfTableSticky, hasHorizontalOverflow }) =>
endOfTableSticky &&