Fixed scroll wrapper for settings page container (#7124)

Padding was set on global page component while it is needed only for
settings page container component.
This commit is contained in:
Lucas Bordeau
2024-09-18 17:26:48 +02:00
committed by GitHub
parent 741a969cc1
commit c24076266b
2 changed files with 1 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ const StyledSettingsPageContainer = styled.div<{ width?: number }>`
}
return OBJECT_SETTINGS_WIDTH + 'px';
}};
padding-bottom: ${({ theme }) => theme.spacing(20)};
`;
export const SettingsPageContainer = ({

View File

@@ -9,7 +9,6 @@ const StyledPanel = styled.div`
overflow-x: auto;
overflow-y: hidden;
width: 100%;
padding-bottom: ${({ theme }) => theme.spacing(10)};
`;
type PagePanelProps = {