File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,23 @@ 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" ) ;
20
+ main . classList . remove ( "max-w-[1280px ]" , "mx-auto" , "min-h-svh" ) ;
21
21
} else {
22
22
header . classList . add ( "*:mx-auto" , "*:max-w-fd-container" ) ;
23
- main . classList . add ( "max-w-[1400px ]" , "mx-auto" , "min-h-svh" ) ;
23
+ main . classList . add ( "max-w-[1280px ]" , "mx-auto" , "min-h-svh" ) ;
24
24
}
25
25
} , [ pathname ] ) ;
26
26
27
27
return (
28
- < HomeLayout { ...baseOptions } >
29
- < main className = "h-full w-full" > { children } </ main >
28
+ < HomeLayout
29
+ { ...baseOptions }
30
+ style = {
31
+ {
32
+ "--spacing-fd-container" : "1280px" ,
33
+ } as object
34
+ }
35
+ >
36
+ < main className = "mx-auto h-full w-full" > { children } </ main >
30
37
</ HomeLayout >
31
38
) ;
32
39
}
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