Skip to content

Commit c207938

Browse files
committed
layout: font variable fixes
1 parent c1faaed commit c207938

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

app/layout.tsx

+5-6
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,14 @@ interface Props {
3939
const RootLayout: React.FC<Props> = ({ children }) => {
4040
return (
4141
<ViewTransitions>
42-
<html lang="en">
42+
<html
43+
lang="en"
44+
className={classNames(sansFont.variable, monoFont.variable)}
45+
>
4346
<head>{renderSchemaTags()}</head>
4447

4548
<body
46-
className={classNames(
47-
sansFont.variable,
48-
monoFont.variable,
49-
"overflow-x-hidden bg-zinc-50 dark:bg-zinc-900 font-sans"
50-
)}
49+
className={"overflow-x-hidden bg-zinc-50 dark:bg-zinc-900 font-sans"}
5150
>
5251
{children}
5352
</body>

0 commit comments

Comments
 (0)