Skip to content

Commit d32395d

Browse files
authored
fix: add mx-auto on the docs-layout (#200)
* fix: add mx-auto on the docs-layout * style: prettier format stuff
1 parent 8f73928 commit d32395d

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

app/components/DocsLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ export function DocsLayout({
505505

506506
return (
507507
<div
508-
className={`min-h-screen flex flex-col lg:flex-row w-full transition-all duration-300 ${
508+
className={`min-h-screen mx-auto flex flex-col lg:flex-row w-full transition-all duration-300 ${
509509
isExample ? 'max-w-[2560px]' : 'max-w-[1400px]'
510510
}`}
511511
>

app/routeTree.gen.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,21 +381,21 @@ const LibrariesTableVersionIndexRoute = LibrariesTableVersionIndexImport.update(
381381
{
382382
path: '/table/$version/',
383383
getParentRoute: () => LibrariesRoute,
384-
} as any,
384+
} as any
385385
)
386386

387387
const LibrariesStoreVersionIndexRoute = LibrariesStoreVersionIndexImport.update(
388388
{
389389
path: '/store/$version/',
390390
getParentRoute: () => LibrariesRoute,
391-
} as any,
391+
} as any
392392
)
393393

394394
const LibrariesStartVersionIndexRoute = LibrariesStartVersionIndexImport.update(
395395
{
396396
path: '/start/$version/',
397397
getParentRoute: () => LibrariesRoute,
398-
} as any,
398+
} as any
399399
)
400400

401401
const LibrariesRouterVersionIndexRoute =
@@ -414,7 +414,7 @@ const LibrariesQueryVersionIndexRoute = LibrariesQueryVersionIndexImport.update(
414414
{
415415
path: '/query/$version/',
416416
getParentRoute: () => LibrariesRoute,
417-
} as any,
417+
} as any
418418
)
419419

420420
const LibrariesFormVersionIndexRoute = LibrariesFormVersionIndexImport.update({

app/routes/form.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ export const Route = createFileRoute('/form')({
77
component: RouteForm,
88
meta: () =>
99
seo({
10-
title: 'TanStack Form | React Form, Vue Form, Angular Form, Solid Form, Lit Form',
10+
title:
11+
'TanStack Form | React Form, Vue Form, Angular Form, Solid Form, Lit Form',
1112
description:
1213
'Simple, performant, type-safe forms for TS/JS, React, Angular, Vue, Solid, and Lit',
1314
image: 'https://github.com/tanstack/form/raw/main/media/repo-header.png',

tsr.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"rootDirectory": ".",
33
"routesDirectory": "./app/routes",
44
"generatedRouteTree": "./app/routeTree.gen.ts"
5-
}
5+
}

0 commit comments

Comments
 (0)