File tree Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -946,7 +946,7 @@ export default function AnalyticsPage() {
946
946
const hourlyDistributionData = getHourlyDistributionData ( ) ;
947
947
948
948
return (
949
- < div className = "min-h-svh" >
949
+ < div className = "mx-auto min-h-svh max-w-[1280px] " >
950
950
< div className = "container mx-auto space-y-8 px-4 py-8 pt-16" >
951
951
< div className = "mb-8" >
952
952
< div className = "mb-6 flex flex-wrap items-center justify-between gap-2 sm:flex-nowrap" >
Original file line number Diff line number Diff line change @@ -17,10 +17,8 @@ export default function Layout({ children }: { children: ReactNode }) {
17
17
18
18
if ( pathname === "/new" ) {
19
19
header . classList . remove ( "*:mx-auto" , "*:max-w-fd-container" ) ;
20
- main . classList . remove ( "max-w-[1280px]" , "mx-auto" , "min-h-svh" ) ;
21
20
} else {
22
21
header . classList . add ( "*:mx-auto" , "*:max-w-fd-container" ) ;
23
- main . classList . add ( "max-w-[1280px]" , "mx-auto" , "min-h-svh" ) ;
24
22
}
25
23
} , [ pathname ] ) ;
26
24
@@ -33,7 +31,7 @@ export default function Layout({ children }: { children: ReactNode }) {
33
31
} as object
34
32
}
35
33
>
36
- < main className = "mx-auto h-full w-full" > { children } </ main >
34
+ < main className = "h-full w-full" > { children } </ main >
37
35
</ HomeLayout >
38
36
) ;
39
37
}
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export default function HomePage() {
58
58
} ;
59
59
60
60
return (
61
- < div className = "min-h-svh" >
61
+ < div className = "mx-auto min-h-svh max-w-[1280px] " >
62
62
< main className = "mx-auto px-4 pt-16" >
63
63
< div className = "mb-8 flex items-center justify-center" >
64
64
< div className = "flex flex-wrap items-center justify-center gap-2 sm:gap-4 md:gap-6" >
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ const showcaseProjects = [
70
70
71
71
export default function ShowcasePage ( ) {
72
72
return (
73
- < main className = "min-h-svh" >
73
+ < main className = "mx-auto min-h-svh max-w-[1280px] " >
74
74
< div className = "container mx-auto space-y-8 px-4 py-8 pt-16" >
75
75
< div className = "mb-8" >
76
76
< div className = "mb-6 flex flex-wrap items-center justify-between gap-2 sm:flex-nowrap" >
You can’t perform that action at this time.
0 commit comments