@@ -11,16 +11,20 @@ export default function Layout( { children } ) {
1111 } ;
1212
1313 return (
14- < div className = "w-full" >
15-
16-
17- < div className = "relative flex flex-wrap min-h-screen w-full text-white" >
14+ < div className = "w-full overflow-x-hidden bg-slate-950 text-white" >
15+ < div className = "relative flex min-h-screen w-full flex-wrap text-white" >
1816 { /* Sidebar */ }
19- < div className = { `fixed inset-y-0 left-0 z-50 w-auto max-w-xs transform transition-transform duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] lg:relative lg:translate-x-0 ${ isSidebarOpen ? 'translate-x-0' : '-translate-x-full lg:translate-x-0' } ` }
17+ < div
18+ className = { `fixed inset-y-0 left-0 z-50 w-auto max-w-xs transform transition-transform duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] lg:relative lg:translate-x-0 ${ isSidebarOpen ? 'translate-x-0' : '-translate-x-full lg:translate-x-0'
19+ } ` }
2020 >
2121 < div className = "glass-strong h-full border-r border-white/20 shadow-xl" >
2222 < div className = "flex items-center justify-between gap-4 border-b border-white/5 px-5 py-4 backdrop-blur" >
23- < Link className = "group flex items-center gap-2 text-lg font-semibold tracking-wide" href = "/" passHref >
23+ < Link
24+ className = "group flex items-center gap-2 text-lg font-semibold tracking-wide"
25+ href = "/"
26+ passHref
27+ >
2428 < span className = "inline-flex h-10 w-10 items-center justify-center rounded-full bg-gradient-to-br from-purple-500/10 to-indigo-500/10 text-sm font-bold uppercase shadow-ring" >
2529 CPA
2630 </ span >
@@ -41,7 +45,7 @@ export default function Layout( { children } ) {
4145 </ div >
4246
4347 { /* Main Content */ }
44- < div className = "flex w-full flex-1 flex-col" >
48+ < div className = "flex w-full flex-1 flex-col overflow-x-hidden " >
4549 < header className = "sticky top-0 z-30 flex items-center justify-between border-b border-white/50 bg-slate-900/10 px-4 py-3 backdrop-blur lg:hidden" >
4650 < Link href = "/" passHref className = "text-base font-semibold tracking-wide" >
4751 < span className = "text-shadow backdrop font-semibold" > CARD PRICE APP</ span >
@@ -55,10 +59,9 @@ export default function Layout( { children } ) {
5559 </ button >
5660 </ header >
5761
58- < main className = "mx-auto w-full" >
59- < div className = "w-full px-4 py-2" >
60-
61- < div className = "backdrop text-shadow relative z-10" >
62+ < main className = "mx-auto w-full max-w-7xl" >
63+ < div className = "w-full" >
64+ < div className = "backdrop text-shadow relative p-2" >
6265 { children }
6366 </ div >
6467 </ div >
@@ -77,3 +80,4 @@ export default function Layout( { children } ) {
7780 </ div >
7881 ) ;
7982}
83+
0 commit comments