File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export default function RootLayout({
7474 ` }
7575 </ Script >
7676 </ head >
77- < body className = { `${ Raleway . className } antialiased bg-white` } >
77+ < body className = { `${ Raleway . className } antialiased bg-white overflow-x-hidden ` } >
7878 { /*
7979 The GlobalErrorHandler is an invisible component that sets up
8080 window-level event listeners for catching uncaught errors.
@@ -83,26 +83,28 @@ export default function RootLayout({
8383 < CliOverlay />
8484 < div className = "flex flex-col min-h-screen" >
8585 < Header />
86- < LayoutTransition
87- initial = { { opacity : 0 } }
88- animate = { { x : 100 , opacity : 1 } }
89- exit = { { opacity : 0 } }
90- style = { { position : 'absolute' } }
91- >
92- { /* Main content area */ }
93- < main className = "flex text-black bg-white" >
94- { ' ' }
95- { /*
86+ < div className = "relative flex-1 overflow-x-hidden" >
87+ < LayoutTransition
88+ initial = { { opacity : 0 } }
89+ animate = { { opacity : 1 } }
90+ exit = { { opacity : 0 } }
91+ style = { { position : 'absolute' } }
92+ >
93+ { /* Main content area */ }
94+ < main className = "flex text-black bg-white" >
95+ { ' ' }
96+ { /*
9697 The ErrorBoundary wraps your entire application. It will catch
9798 any rendering errors and display a fallback UI instead of crashing.
9899 */ }
99- < ErrorBoundary >
100- < div className = "w-screen" > { children } </ div >
101- </ ErrorBoundary >
102- </ main >
103- { /* Footer */ }
104- < Footer />
105- </ LayoutTransition >
100+ < ErrorBoundary >
101+ < div className = "w-screen" > { children } </ div >
102+ </ ErrorBoundary >
103+ </ main >
104+ { /* Footer */ }
105+ < Footer />
106+ </ LayoutTransition >
107+ </ div >
106108 </ div >
107109 </ body >
108110 </ html >
You can’t perform that action at this time.
0 commit comments