Skip to content

Commit

Permalink
Fixed scroll wrapper for settings page container (#7124)
Browse files Browse the repository at this point in the history
Padding was set on global page component while it is needed only for
settings page container component.
  • Loading branch information
lucasbordeau committed Sep 18, 2024
1 parent 741a969 commit c240762
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const StyledSettingsPageContainer = styled.div<{ width?: number }>`
}
return OBJECT_SETTINGS_WIDTH + 'px';
}};
padding-bottom: ${({ theme }) => theme.spacing(20)};
`;

export const SettingsPageContainer = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const StyledPanel = styled.div`
overflow-x: auto;
overflow-y: hidden;
width: 100%;
padding-bottom: ${({ theme }) => theme.spacing(10)};
`;

type PagePanelProps = {
Expand Down

0 comments on commit c240762

Please sign in to comment.