Skip to content

Commit

Permalink
fix: use font-sans at top
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLv committed Mar 7, 2023
1 parent 1419440 commit 0f7ac28
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ function MyApp({
>
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<TooltipProvider>
<div className="mx-auto flex min-h-screen flex-col justify-center font-sans">
<div
className={cn(
"mx-auto flex min-h-screen flex-col justify-center font-sans",
fontSans.variable
)}
>
<Header showSingIn={showSingIn} />
<main
className={cn(
"mx-auto flex max-w-5xl flex-1 flex-col justify-center bg-white text-slate-900 antialiased dark:bg-slate-900 dark:text-slate-50",
fontSans.variable
)}
>
<main className="mx-auto flex max-w-5xl flex-1 flex-col justify-center bg-white text-slate-900 antialiased dark:bg-slate-900 dark:text-slate-50">
<Component {...pageProps} />
<Analytics />
<CommandMenu />
Expand Down

1 comment on commit 0f7ac28

@vercel
Copy link

@vercel vercel bot commented on 0f7ac28 Mar 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.