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:
@ -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`
|
||||
|
||||
@ -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)`
|
||||
|
||||
Reference in New Issue
Block a user