File tree Expand file tree Collapse file tree 6 files changed +12
-11
lines changed Expand file tree Collapse file tree 6 files changed +12
-11
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,15 +17,20 @@ 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-[1400px]" , "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-[1400px]" , "mx-auto" , "min-h-svh" ) ;
24
22
}
25
23
} , [ pathname ] ) ;
26
24
27
25
return (
28
- < HomeLayout { ...baseOptions } >
26
+ < HomeLayout
27
+ { ...baseOptions }
28
+ style = {
29
+ {
30
+ "--spacing-fd-container" : "1280px" ,
31
+ } as object
32
+ }
33
+ >
29
34
< main className = "h-full w-full" > { children } </ main >
30
35
</ HomeLayout >
31
36
) ;
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" >
Original file line number Diff line number Diff line change 5
5
6
6
@custom-variant dark (& : where (.dark , .dark * ));
7
7
8
- : root {
9
- /* --fd-layout-width: 1400px; */
10
- /* --max-w-fh-container: 100%; */
11
- }
12
-
13
8
.react-tweet-theme {
14
9
--tweet-container-margin : 0 !important ;
15
10
@apply !bg- fd- background !bor der- none !h- full !bor der- transparent !w- full;
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ export function LLMCopyButton({
52
52
53
53
return (
54
54
< button
55
+ type = "button"
55
56
disabled = { isLoading }
56
57
className = { cn (
57
58
buttonVariants ( {
You can’t perform that action at this time.
0 commit comments