Skip to content

Commit

Permalink
Center the share preview
Browse files Browse the repository at this point in the history
  • Loading branch information
samselikoff committed Aug 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent d6884a3 commit 452097c
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="en">
<html lang="en" className="h-full">
<head>
<PlausibleProvider domain="llamacoder.io" />
</head>
6 changes: 5 additions & 1 deletion app/share/[id]/layout.tsx
Original file line number Diff line number Diff line change
@@ -3,5 +3,9 @@ export default function Layout({
}: Readonly<{
children: React.ReactNode;
}>) {
return <body>{children}</body>;
return (
<body className="flex min-h-full flex-col items-center justify-center">
{children}
</body>
);
}

0 comments on commit 452097c

Please sign in to comment.