Navigation drawer scroll padding fix (#9141)
closes https://github.com/twentyhq/twenty/issues/9026 fixes #9312 https://github.com/user-attachments/assets/3d7df3ec-8a5e-4308-8993-82c715edc683 --------- Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
@ -62,7 +62,21 @@ const StyledTableFoot = styled.thead<{ endOfTableSticky?: boolean }>`
|
||||
tr {
|
||||
position: sticky;
|
||||
z-index: 5;
|
||||
${({ endOfTableSticky }) => endOfTableSticky && `bottom: 0;`}
|
||||
background: ${({ theme }) => theme.background.primary};
|
||||
${({ endOfTableSticky }) =>
|
||||
endOfTableSticky &&
|
||||
`
|
||||
bottom: 10px;
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -10px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 10px;
|
||||
background: inherit;
|
||||
}
|
||||
`}
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user