scroll app
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
import HeaderWithLogo from "@/components/layouts/dashboard/headerWithLogo";
|
||||
import HeaderWithSidebar from "@/components/layouts/dashboard/headerWithSidebar";
|
||||
import { Box, Stack } from "@mui/material";
|
||||
import { Stack } from "@mui/material";
|
||||
|
||||
const Layout = ({ children }) => {
|
||||
return (
|
||||
<Stack>
|
||||
<Stack sx={{ width: '100%', height: '100%' }}>
|
||||
<HeaderWithLogo />
|
||||
<Box>
|
||||
<HeaderWithSidebar>{children}</HeaderWithSidebar>
|
||||
</Box>
|
||||
<HeaderWithSidebar>{children}</HeaderWithSidebar>
|
||||
</Stack>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -7,7 +7,7 @@ export const metadata = {
|
||||
export default function RootLayout({ children }) {
|
||||
return (
|
||||
<html lang="fa" dir={"rtl"}>
|
||||
<body style={{ height: "100vh" }}>
|
||||
<body style={{ height: "100vh", width: '100vw' }}>
|
||||
<TableSettingProvider>{children}</TableSettingProvider>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user