upd: scroll
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
MantineProvider,
|
||||
rem,
|
||||
} from "@mantine/core";
|
||||
import { WARNA } from "@/module/_global";
|
||||
import { ScrollProvider, WARNA } from "@/module/_global";
|
||||
import { Lato } from "next/font/google";
|
||||
import '@mantine/carousel/styles.css';
|
||||
import { Toaster } from 'react-hot-toast';
|
||||
@@ -33,20 +33,23 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<ColorSchemeScript />
|
||||
</head>
|
||||
<body className={`${LatoFont.className}`} suppressHydrationWarning>
|
||||
<MantineProvider>
|
||||
<Notifications />
|
||||
<Notifications />
|
||||
<Box bg={'#252A2F'} pos={"fixed"} w={"100%"} h={"100%"} style={{
|
||||
overflowY: "auto",
|
||||
}}>
|
||||
<Toaster/>
|
||||
<LayoutBackground>
|
||||
{children}
|
||||
</LayoutBackground>
|
||||
<Toaster />
|
||||
<ScrollProvider>
|
||||
<LayoutBackground>
|
||||
{children}
|
||||
</LayoutBackground>
|
||||
</ScrollProvider>
|
||||
</Box>
|
||||
|
||||
</MantineProvider>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user