Skip to content

Commit

Permalink
Fix ScrollWrapper inner elements padding (twentyhq#4827)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesBochet authored Apr 4, 2024
1 parent 65e665c commit 499e1a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)`
Expand Down

0 comments on commit 499e1a0

Please sign in to comment.