Update src/app/layout.tsx
This commit is contained in:
@@ -46,10 +46,12 @@ export default function RootLayout({
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={inter.variable}
|
||||
className={`${inter.variable} fixed inset-0 overflow-hidden`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
<div className="fixed inset-0 overflow-y-auto w-full">
|
||||
{children}
|
||||
</div>
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
@@ -1272,4 +1274,4 @@ export default function RootLayout({
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user