File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ function Home({t, statsInfo}: Props): ReactElement {
2525 initAmplitude ( ) ;
2626
2727 return (
28- < div className = { clsx ( 'flex-1 w-full' , 'flex flex-col' ) } >
28+ < div className = { clsx ( 'flex-1 w-full max-w-full ' , 'flex flex-col' , 'overflow-x-hidden ') } >
2929 < Hero t = { t } statsInfo = { statsInfo } />
3030 < SectionHowItWorks t = { t } />
3131 < SectionFooter t = { t } />
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export default async function LangLayout(props: Props): Promise<ReactElement> {
3737 className = { clsx (
3838 'h-[calc(100vh-56px)]' ,
3939 'flex w-full min-w-0' ,
40- 'overflow-y-auto' ,
40+ 'overflow-y-auto overflow-x-hidden ' ,
4141 ) }
4242 >
4343 { children }
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ export const metadata: Metadata = {
6969
7070export default function RootLayout ( { children} : { children : ReactNode } ) {
7171 return (
72- < html lang = "en" className = "dark h-full" >
72+ < html lang = "en" className = "dark h-full overflow-x-hidden " >
7373 < head >
7474 < meta content = "width=device-width, initial-scale=1" name = "viewport" />
7575 < link rel = "manifest" href = "/manifest.json" />
@@ -80,7 +80,7 @@ export default function RootLayout({children}: {children: ReactNode}) {
8080 crossOrigin = "anonymous"
8181 > </ script >
8282 </ head >
83- < body className = "h-full" > { children } </ body >
83+ < body className = "h-full overflow-x-hidden " > { children } </ body >
8484 </ html >
8585 ) ;
8686}
You can’t perform that action at this time.
0 commit comments