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 }) {
1717
1818 if ( pathname === "/new" ) {
1919 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" ) ;
2121 } else {
2222 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" ) ;
2424 }
2525 } , [ pathname ] ) ;
2626
2727 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 >
3037 </ HomeLayout >
3138 ) ;
3239}
Original file line number Diff line number Diff line change 55
66@custom-variant dark (& : where (.dark , .dark * ));
77
8- : root {
9- /* --fd-layout-width: 1400px; */
10- /* --max-w-fh-container: 100%; */
11- }
12-
138.react-tweet-theme {
149 --tweet-container-margin : 0 !important ;
1510 @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({
5252
5353 return (
5454 < button
55+ type = "button"
5556 disabled = { isLoading }
5657 className = { cn (
5758 buttonVariants ( {
You can’t perform that action at this time.
0 commit comments