scroll app

This commit is contained in:
Amirhossein Mahmoodi
2024-07-13 15:58:14 +03:30
parent 69cb21f21a
commit e866318d2a
2 changed files with 10 additions and 12 deletions

View File

@@ -337,17 +337,15 @@ const InquiryPrivacyFencingPage = () => {
);
return (
<Box sx={{ mx: 2 }}>
<DataTable
need_filter={false}
columns={columns}
table_url={GET_INQUIRY_PRIVACY_FENCING_ROUTE}
user_id={0}
page_name={"inquiryPrivacyFencing"}
table_name={"inquiryPrivacyFencingList"}
TableToolbar={Toolbar}
/>
</Box>
<DataTable
need_filter={false}
columns={columns}
table_url={GET_INQUIRY_PRIVACY_FENCING_ROUTE}
user_id={0}
page_name={"inquiryPrivacyFencing"}
table_name={"inquiryPrivacyFencingList"}
TableToolbar={Toolbar}
/>
);
};
export default InquiryPrivacyFencingPage;

View File

@@ -105,7 +105,7 @@ const HeaderWithSidebar = ({ children }) => {
</Drawer>
<Main open={open} sx={{ height: '100%', width: '100%', overflow: 'hidden' }}>
<DrawerHeader />
<Box sx={{ height: '100%', width: '100%', overflowY: 'auto', overflowX: 'hidden', }}>
<Box sx={{ height: '100%', width: '100%', overflowY: 'auto', p: 2, overflowX: 'hidden', }}>
{children}
</Box>
</Main>