Fix ScrollWrapper inner elements padding (#4827)

Closes https://github.com/twentyhq/twenty/issues/4824 and
https://github.com/twentyhq/twenty/issues/4788
This commit is contained in:
Charles Bochet
2024-04-04 19:19:26 +02:00
committed by GitHub
parent 65e665c74c
commit 499e1a09e3
2 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,8 @@ export const StyledList = styled.div`
export const StyledInnerList = styled.div`
padding-left: ${({ theme }) => theme.spacing(1)};
width: 100%;
padding-right: ${({ theme }) => theme.spacing(1)};
width: calc(100% - ${({ theme }) => theme.spacing(2)});
`;
export const StyledEmpty = styled.div`

View File

@ -17,9 +17,8 @@ const StyledDropdownMenuItemsExternalContainer = styled.div<{
overflow-y: auto;
padding: var(--padding);
padding-right: 0;
width: calc(100% - 1 * var(--padding));
width: calc(100% - 2 * var(--padding));
`;
const StyledScrollWrapper = styled(ScrollWrapper)`